Barely Magento related — mainly a tab sweep to capture some Stack Overflow questions where I’m re-familiarizing myself with DBA concepts as part of a Magento upgrade project. Optimizing ALTER TABLE Debugging errno: 150 More errno: 150
astorm
Replay SQL Log An interesting project (also forked and improved by Magento stalwart fbrnc) that lets you replay the contents of Magento’s database log for the purpose of improving performance during a Setup Resource upgrade. I haven’t tried using it, but it looks useful. Also, if there’s any computer science teachers [...]
astorm
If you've followed my work here, on Stack Overflow, or on Twitter, you know I have a perpetual bee in my bonnet over Magento Connect's file permissions issues. There's a few common cases where Magento Connect will tell you an extension is installed, but
astorm
In case you missed it in the waterfall of post Magento Imagine press releases, I've got a new version of Commerce Bug 2 available. Free for registered users — this update brings support for the theme inheritance features of Magento CE 1.9 and Magento
astorm
Vinai Koop (author of Grokking Magento) pointed me towards the magento-hackathon/composer-command-integrator Magento package (in a GitHub thread). This packages adds a deploy-all command to the Firegento Magento composer project which (presumably) allows users to explicitly trigger an installation of their packages into their Magento [...]
astorm
If you haven't heard, PHP Composer is a package management system for PHP. It's closest thing the PHP community has to something like Ruby Gems. The goal of package management systems is to make it super simple to add a new library and/or third
astorm
Magento Community Edition (CE) 1.9 Release Notes Pretty solid release notes for the Magento 1.9 release.
astorm
In his soon to be referenced widely Magento Infinite Theme Fallback Fix, Eric Wiese notes that layout update XML files added via theme.xml are ignored by the parent/child theme inheritance. An XML file added to a parent’s theme.xml will not be added automatically to the child theme’s layout. Eric’s solution is a custom [...]
astorm
The new Magento parent/child infinite theme fallback system is the first time in years Magento's added a new significant system to the framework code. As with any new system we need to reconcile our expectations vs. the actual behavior of the system. Put another
astorm
One of the things Magento 1.9 brings to the table is unlimited theme fallback via a parent/child theme mechanism. If you ever need to find the current theme’s parent programmatically, here’s what you’ll want to do. $design = Mage::getDesign(); $config = Mage::getSingleton('core/design_config'); $area = [...]
astorm
Magento – Knowledge Base – Magento CE 1.9 and EE 1.14 Responsive Web Design Developer’s Guide – eCommerce Software for Growth A deep dive from eBay on the new Magento responsive theme.
astorm
Magento Infinite Theme Fallback Fix Covers Magento 1.9’s new parent/child theme concept, and offers an extension for more Magento 2 like merging of theme files (vs. complete file replacement)
astorm
I’m still digging into the new Magento 1.9 CE responsive web design (RWD) theme, but one thing I noticed immediately (since it conflicted with my new Custom Checkout Step extension) is how the theme needed to replace a method in the Prototype JS Checkout class. #File: skin/frontend/rwd/default/js/opcheckout_rwd.js [...]
astorm
One of the nice surprises at Magento Imagine 2014 was the simultaneous release of Magento EE 1.14 and Magento CE 1.9. The most obvious feature of both is a new responsive web design theme, but behind the scenes there was some invisible
astorm
Here’s a fun little heisenbug I had to deal with. I was working in a Magento block observer — specifically the core_block_abstract_to_html_after event. If the block was a specific block, I wanted to change its output slightly. $transport = $observer->getTransport(); $block = $observer->getBlock(); [...]
astorm
Last week's Bypassing a slow Composer Repository post shook a few interesting things from the internet underbrush.
astorm
This week I had a long standing to do item I was looking forward to tackling
astorm
In 2014 a newcomer to Magento is, all things considered, in much better shape than a newcomer was in 2009. While far from complete, the developer's series (originally written by me, since updated by Magento staff) gives a developer the grounding they need in
astorm
The PHP community draws developers from all sorts of different backgrounds — there's the technical and academic on one end of the spectrum, and the bang on the keyboard until it works on the other. Because PHP is such an accessible language, all these
astorm
Use Reflection to find the class that a method belongs to Some reflection and PHP token parsing to get to the actual class with a method definition (or, by way of inference, if a method is magic or not)
astorm