Magento Index Status A Magento index can have a status of pending, working, or require_reindex. However, the UI represents pending as Ready, working as Processing, and require_reindex as Reindex Required. Did I say UI? I meant Web UI. The command line UI (via shell/indexer.php uses the slightly-different-but-the-same-enough to be [...]
astorm
Magento source model conventions Pretty good answer from yours truly on the different between toOptionArray and getAllOptions.
astorm
Magento Programmer’s 404 Extension From yours truly, a Programmer’s 404 page that will diagnose why Magento skipped your custom module/controller routing.
astorm
One of the most common Magento questions on Stack Overflow or the Magento Stack Exchange is a variation on "why does my MVC controller 404?" While powerful, Magento's configuration based MVC system leaves lots of room for subtle configuration errors. Not only do
astorm
Magento Bootstrap Framework Reset Bootstrap is the go to framework for agencies building multi-device “responsive” layouts. Kimberely Thomas’s b-responsive theme is the first Magento Bootstrap reset project I’ve seen that Has a proper open source license attached Has the goal of working with both Enterprise and [...]
astorm
Varien_Object as PHP Extension Andrey Tserkus implemented the Varien_Object class as a PHP extension to see what sort of performance improvements might lie down that path. Beyond the obvious interest to Magento developers, this project also looks like a nice “hello world” for PHP extension development.
astorm
The short version: To assuage whatever guilt I have about selling commercial software and ebooks in an open source ecosystem, I've created and released a new n98-magerun command that allows Magento users to manually and incrementally run Magento's setup resource migration scripts. Our long
astorm
Around CE 1.4, Magento extended their Setup Resource Migration system with the ability to have data updates as well as structure updates. That is, a setup resource upgrade/install script named like this mysql4-install-0.7.0.php mysql4-data-upgrade-0.7.63-0.7.64.php should contain structural changes to Magento’s database tables, [...]
astorm
Magento 2 Development Update Video of the Magento 2 conference call from yesterday. Covers a lot of the formal reasons for the changes in Magento 2.
astorm
Setting Parent Blocks from Layout XML Nice bit of layout XML information from Mr. Clean Ben Marks on setting a different parent block when instantiating from a Layout XML file. Here’s the bit of PHP that makes this possible #File: app/code/core/Mage/Core/Model/Layout.php if (!empty($node['parent'])) { $parentBlock = [...]
astorm
If you’re working in a PHP file that’s namespaced, and you’ve setup a simple try/catch block like this try { //do something that might throw an exception } catch(Exception $e) { echo "Caught you!"; } You may be surprised when your program doesn’t catch the thrown exception. That’s because Exceptions are [...]
astorm
I’ve been digging into the guts of Magento 1’s setup resource migration system, and I’ve run into some unexpected behavior. Unexpected is probably the wrong word, because I treated a lot of these details as black boxes until now. I’m documenting this here for myself, but reserve the right to come back later if my [...]
astorm