Rails-like Console for PHP

If you’ve ever used Ruby on Rails, you know it has an amazing console that allows you to execute code within a fully bootstrapped application environment. With the rails console command, you can gain access to your database and models in a command-line interface read-eval-print loop (REPL) for your application. This is made possible by interactive Ruby, […]

Magento Under-the-Hood: Events and Observers

The Magento observer pattern is an ideal form of extending your store’s functionality. Since it is part of Magento’s architecture, you can inject your own routines into the e-commerce process.

Tags: ,

Magento Under-the-Hood: Advanced Layout Techniques

Magento’s XML layout engine is really unique because it allows you to override the presentation elements of an eCommerce site in a variety of ways. At the simplest level, an XML layout file determines which blocks are rendered on the page. A block is a PHP object that encapsulates a portion of the page’s HTML output. In this article, I am going to cover the use of <action /> tags in XML layout files.

Tags: ,