Categories


Recent Posts


Archives


Category: Programming Quickies

Back in they day, I ran a Tumblr blog named Magento Quickies where I’d post shorter, less in-depth posts about my travels through Magento’s source code. This Programming Quickies categories is the successor to that Tumblr blog. You’ll find all the old Magento Quickies content here, as well as new short posts about programming in general.

This section has its own RSS feed, the old Magento Quickies feed should should be redirecting, and we’re cross posting notifications for new posts over to magento-quickies.tumblr.com. In other words, you shouldn’t need to know any of this, but the duct tape that keeps the internet held together isn’t aging well, so your mileage may vary.

Below you'll find all the Programming Quickies articles on the site, followed by a chronological listing of the same. You may also browse the 7 series directly via the following links. Pestle, Four Steps to Async Iterators, Checking in on OpenMage and Magento in 2020, Text Encoding and Unicode, Shopware's Development Environment, A Sentimental Gen-X Programmer Culls his Tech Books, and, Containers, Containers, Containers.

Query Bind Syntax

This one is for me, since I seem to forget Magento’s query binding syntax every time I stay away from it fore more than a week. $sql = "select foo from bar where baz = ?"; $query = Mage::getSingleton('core/resource')->getConnection('core_read') ->query($sql,array($value)); while($row = $query->fetch()) { var_dump($row); } [...]

astorm

The Orders Table

Magento Version: 1.5.0.1 More modern version of Magento have abandoned the EAV storage method for sales order information. Don’t worry, there’s still plenty of linked tables to trip you up! One of the most common misunderstandings I’ve seen is that there’s two tables that store primary order information. The more [...]

astorm

Watching the Watchers

Sometimes when you’re tracking down a bit of tricky Magento functionality, you need to quickly suss out not only what events have fired, but which observer methods are actually listening for the events that fired on a particular request. There’s no elegant way to doing this with Magento, but if you’re not above a little [...]

astorm

Watching the Watchers

Sometimes when you’re tracking down a bit of tricky Magento functionality, you need to quickly suss out not only what events have fired, but which observers methods are actually listening for the events that fired on a particular request. There’s no elegant way to doing this with Magento, but if you’re not above a [...]

astorm

1.6 resource models in a nutshell 1: Complete rewrite, core resource model class prefixes now seem to be <class-prefix>_Resource 1.6 resource models in a nutshell 2: Fallback to old resource models if rewrite is defined (supported via <deprecatedNode>) 1.6 resource models in a nutshell 3: MySQL specifics removed, new resource [...]

astorm
email hidden; JavaScript is required