This year, I’ve been working extensively in Magento, which is a change of pace from the custom-coded, “from the ground up” projects I’d been doing previously. I was excited about entering this “brave new world” because with my background, I felt I could take quickly to find ways to extend Magento’s core functionality. One example that was brought to my attention was custom events. (more…)
“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.