“Pub/Sub” is short for publishing and subscribing. It is derived from the observer pattern (click here for more on the observer pattern). The overall idea is that when a certain event fires (or action takes place), listeners that are subscribed to it execute. This allows for extensive asynchronous development as you can easily hook on to your jQuery AJAX callbacks and keep clean and concise code.
Have you ever had a problem when programming in PHP, for which PHP just didn’t have the muscle to get the job done? For example, complex algorithms that take too long to process or need to do something that PHP just can’t do.
The shell_exec function makes all your wildest PHP programming dreams come true. You can use this function to get real time GPS tracking information, and complicated bin-packing algorithms can be easily integrated with any cart solution written in PHP. This function, when combined with AJAX and a game engine, could even allow you to produce an online game that connects into the game server via the web browser, thus avoiding flash or java applets. The possibilities are limitless! (more…)
Just recently I’ve had my first big experience working with jQuery mobile (jQM) for a client, and I want to share some of the basics that I learned along the way. I’d worked with mobile sites before, but this takes mobile development a giant step forward. (more…)