Hello world!

Hello world 🙂 This is my first post on my first blog. I am hoping my new journey will be a great one, learning new things and sharing my knowledge…

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…

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…

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…

fputcsv() function with SplFileObject

The SplFileObject is a replacement object oriented approach for php filesystem functions. Not all of the functions are part of the SPL classes. fputcsv() is only available from PHP 5.4…

Argument unpacking in PHP5.6

PHP 5.6 comes with some new features. This post is to preview the Argument unpacking.

Variadic functions in PHP5.6

PHP 5.6 comes with some new features. This post is to preview the Variadic functions This new feature looks as follows: