Categories


Recent Posts


Archives


March, 2012 11

Magento Block Lifecycle Methods

There's two design patterns used in PHP systems that are often conflated. First, there's the event/observer pattern. This pattern allows a system-developer to issue global events which client-developers may then setup listener object/methods/functions for. These listeners observe the event, and then perform some action

astorm

Quick Script to Generate DB Dump

This is a small PHP shell script that will extract the default connection information from local.xml and construct the correct command-line script to do a no-locking dump of the database. You’ll need to be in the root folder of a system for this to work. Useful if you spend a lot of time debugging different systems. #!/usr/bin/env [...]

astorm

Commerce Bug 1.5

Two quick announcements this week. The first is the immediate availability of Commerce Bug 1.5, and the second is the new Pulse Storm blog. I'll still be posting Magento articles and tutorials here on alanstorm.com, but the Pulse Storm blog is what

astorm
email hidden; JavaScript is required