PHP 5.x

A deployment strategy for Drupal sites

Enterprise Servers: 
PHP: 

Oh well, what do you call a system log that has no entries; a malfunctioning system, right. So what would you call a supposedly web log (blog) that has no entries for almost a year and a handful in a couple years Laughing?

Despite deeply wanting  to keep writing, I hardly get a chance to do so these days. But so much for the ranting, time to get down to business now.

Drupal 7 - Handling file uploads and moving files to the public file system

PHP: 

This was the most time consuming aspect for the recent port of my Document module for Drupal 7.

You would be knowing that File system API underwent a complete revamp in Drupal 7 (see this and this link, a very good introduction of the changes and new concepts is available on Randy Fay's blog). In Drupal 6, handling file uploads was this easy:

 

ExtJsFileManager - ExtJs based File and Image Manager plugin for TinyMCE

PHP: 
Web 2.0: 

A couple of days ago, I started implementing a rather interesting piece of code. It was late into the night, and I was not feeling like doing my regular work and neither was I sleepy. At that time, I was reminded of another project where we needed to provide users the ability to browse and upload files while entering content through the WYSIWYG editor we would provide them.

Ajax Sorted and Paged tables in Drupal 7

PHP: 

My recent blog post on Creating Paged and Sorted tables in Drupal 7 got a comment today asking if it was possible to implement Paging and Sorting in Drupal tables via Ajax, instead of regular Page refreshes that Drupal does by default.

Drupal 7 - Creating Drupal style tables with paging, sorting and sticky headers

Generating signed urls for Amazon's Product Advertising API in PHP

PHP: 

I recently provided Amazon's Product Advertising API integration for one of the sites I did for a client in Drupal (along with iTunes search integration etc). I have to say providing Amazon's Product Advertising API integration was more cumbersome than integration with other such API's available, mainly because of Amazon's requirement of signed url requests (which basically contain SHA hash of the url for authenticating the request to Amazon), and because of far less documentation available on the Product Advertising API's request parameters and response formats.

Drupal - Need to include css files manually when using jquery_ui module

Web 2.0: 
PHP: 

After my last blog post on Drupal, expect some more Drupal related blog posts related to my recent work that I have been doing in Drupal.

You might be knowing that the jquery_ui contributed module is the preferred way to use jQuery UI in Drupal. This module provides the jqeury_ui_add method with which you can include any jQuery UI widget on the page. The module ensures that any widget's dependencies are also loaded automatically and that multiple modules wanting to include the same widget do not conflict by including the widget script files twice.