Alireza Rahmani Khalili (Alireza such a cool name, isn't it?!) the Open source (LAMP) enthusiast, He has more than 5 years experience in developing PHP/MySQL. He is also educating in software master. His friends know him as Co-founder of Perfect Soft web development Company. When he's not writing code, Alireza likes to read, cook, ski, swim, fish, hunt, shatter dead branches with axe and his slogan is "I'll do it on the web!".
Introduction to Gearman – Multitasking in PHP
How many times have you developed a web application that had some functionality which would benefit from running an external program or even forking a separate process? This is not something you generally like to do from your web app because you want to make it run as fast and efficient as possible, while keeping […]
Collection Classes in PHP
A Collection class is an OOP replacement for the traditional array data structure. Much like an array, a collection contains member elements, although these tend to be objects rather than simpler types such as strings and integers. The general characteristics of a collection class are: Establishes a wrapper around a array of objects. Collections are […]
Magic Methods and Predefined Constants in PHP
PHP provides a set of special predefined constants and magic methods to your programs. Unlike the constants you would set using
define(), the value of the constants depend on where they are used in your code and are used to access read-only information about your code and PHP. The magic methods are reserved method names you can use in your classes to hook into special PHP functionality. If you haven’t heard about PHP’s magic methods and constants yet, then this article is for you!