Image view helper for Zend Framework

Image view helper to generate an image tag Arguments to pass are: Uniqe name for the image tag. Will be the id attribute. Path to the image file. Tag Attributes.…

PHP string functions to Class

Would it be better if all PHP string functions are methods of a String class? Would that make working with strings an easy job? and make the code easier to…

Custom Flash Messenger for Zend Framework

FlashMessenger is an action helper in Zend Framework used to pass messages for the users on the next request. Thats all good, but what about presenting the messages for the…

Reduce duplicated code in Zend_Controller_Action

In most of the Zend Framework projects that i worked on, i had some common actions such as, listAction, newAction, and editAction. Each of these actions have similar structure and…

On fly elements in Zend_Form

How to create and modify elements in Zend_Form on fly? Lets say we have a form that creates a customer address. The form has the following fields: Country (select element)…

Custom Module Bootstrap Class

In my Zend Framework application I wanted a bootstrap class for every module. Each bootstrap class will instantiate confirguration specific for each module. You do not have to add a…

Magento Tips

Design customisation for CMS page: Adding custom CSS class name in the body tag Remove a block area_name: is the name of the section in a page layout. For example…

New Magento Extension "Moo_CloudZoom"

Overview I have released a new extension for the Magento E-commerce system. The extension is a replacement for my first extension “Magento JQZoom”. The new extension has more features including:…

StackOverflow Answers (WordPress Widget)

Widget to display a summary of answers you have posted in StackOverflow. It will display the question’s title, the answer’s score, and the time the answer was last edited. You…

Symfony 2.1 Console Cheat Sheet

Symfony2 has many useful command lines to help you. The command lines can assist you with Symfony2 development and saves time when you are coding. I have listed below a…