Born in United Arab Emirates & raised in Pakistan. Have accumulated 12 years of experience in Opensource Software Research & Development.

Specialized in Enterprise Portal and Collaboration Suites' Development. Currently working as a Technical Project Analyst at Nitro Digital and Sr Consultant Developer (Drupal) at Toptal Inc  >>>

Understanding advance page template preprocessing

The main role of the page preprocessor is to set up custom variables to be rendered through the template (.tpl.php) files. Mostly the page preprocessing is used to handle theme template suggestions. This means that based on some custom logic we can suggest any page--*.tpl.php file instead of generic page.tpl.php but this is not the limit, most advance developers use these preprocessors to do heavy calculation of their logic and then pass the results to the page.tpl.php in form of some custom variable, this avenue has endless possiblities.

How to get In-Field Labels in Drupal 7

Compact forms are always good to have and in-field labels is one of the feature that makes the form more compact and sleak. Conventionally the labels are set as "above" or "in-line" with the fields where as in-field labels are set with in the Label's respective fields. Technically form item or element fields are overlaid with their repective labels.

Revamping the Electoral System of Pakistan... Urgently Needed

After analyzing several political talk-shows about electoral system and the ground realities of the ruling parties and opposition parties that how they got elected, I found a big room for improvement and  came up with a suggestion for Election Commission and Supreme Court of Pakistan to think about improving and changing this process once and for all. This is a need of time, we want to revamp this system on emergency basis, most probably for next general election. We as a Pakistani nation cannot afford another election where fate of 180 Million Pakistanis are written by few Thugs and Illiterates who do not even represent 20% of Pakistani population.

Migration Solution to Taxonomy Vocabulary Relate Module in Drupal 7

Taxonomy Vocabulary Relate was very helpful module in Drupal 6.x which allows us to select related terms in taxonomy from other vocaulary. Default taxonomy module in Drupal 6.x only allow us to select related terms from the same vocabulary. This post is going to help lots of developers who are planning to migrate their Drupal 6 website to Drupal 7 or who have migrated their projects and are awaiting solution to this issue.

Setting up "bare" "shared" GIT repository

This is all about setting up GIT repository to behave in such a way that all developers can push their changes and can pull others changes from central shared repository, ultimately they are going to clone the repository into their local location and each user's "working copy" will itself be a fully-fledged Git repository but to make the code changes centralized they have to push and pull to the central repository that can be on a remote server. e.g. , we will call this server as source.

Enterprise Portal in Saudi Arabia's Leading IT Organization

Last week we successfully implemented Drupal as an Enterprise Portal for one of the largest IT Organization (Saudi Business Machine - SBM) in Saudi Arabia. Portal is very much optimised to support  50,000+ user base, portal has been developed over the course of six months with handful of resources.

Government's blunder on Higher Education Commission Issue

Devolving Higher Education Commission (HEC) and transferring it to provincial level means All four tires of car going in different directions, was this done on purpose? can we call it an educational conspiracy linked to some international conspiracy for destabilizing Pakistan? or some hidden agenda?. Last night I heard former Chairman of HEC Dr. Atta ur Rehman on one of Pakistani Satellite channel  saying "If you want to break a country break its education in to pieces" and I agree with his words.

Intranet of 90K+ developed on Drupal for a Fortune 20 company

I am glad to be part of a team who deployed Drupal as an Intranet platform for a Fortune 20 telecom company.  This is the first time that Drupal was used on an open surce LAMP stack to create a corporate Intranet for over 90,000 employees. The project was a complete rewrite of the existing intranet that had been in operation for over half a decade. It was accomplished in less than 12 months from conception to full deployment, ramping up from just a one member team to a 17 person group with only 5 full time developers

With lots of Cheers and Tears - Happy New Year

Last year was AWESOME, I cannot let it go with out mentioning that I was blessed with lots of Happiness and Joy. I am really very thankful to my Lord Allah Subhanawtallah that HE blessed me with a Son, we name him Saad. Then I came back to my Home Country Pakistan after spending three years in United States, I donot have words to mention about my feelings the first time I stepped out of the aircraft when I landed at Allama Iqbal International Airport, Lahore. I came to Saudi Arabia to perform Umrah, and paid visit to Haram-Makkah (House of Allah) twice. The first sight was magnificant, it was full of attraction, and your heart feels some kind of energy that tells you that this is the House of Allah who is the creator of all creations.

Optimizing/Caching Poll's Block

We all know that Poll is a core module which ships with Drupal. After installing this module we can setup poll and we can place a "most recent poll" block any where in region, usually its on a front page. I investigated this module and I found that it takes 20-25 queries to load most recent poll block and when a user submits a vote on that poll it does a cache_clear_all. Which was like WOW, in addition to submitting a vote users were also clearing my cached data. Optimizing or Caching poll's block for any kind of user (authenticated or anonymous) is like piece of cake, but figuring out how to do it was really a big pain in a neck.

Subscribe to