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.

Magento 1.13 and MySQL Triggers

Magento 1.13 and MySQL Triggers I know “no more consulting” was a great business move for Varient/Magento Inc./etc., but the folks building Magento’s core are slowly loosing touch with the day-to-day needs of working developers. I’m glad there’s folks like Robert willing to suffer the slings and arrows of [...]

astorm

Magento Connect Bookmarklet

Stop me if this sounds familiar. Hey look, a Magento Connect extension, let’s try it out Oh, right, I need to be logged in to get the extension key Where’s that password again? [knocks over pills] Waiting for Magento site to log me in [Still waiting] There are, of course (I assume), reasons for Magento to force a sign-in [...]

astorm

Magento CSRF Protection

Maybe if I write this down I’ll remember it. You probably know all Magento admin console URLs need a nonce/key in the URL http://magento.example.com/admin/catalog_product/edit/id/174/key/c4df66cd2118cb5422c9fb5eff7eq4f0/ That’s why we use the Mage::getModel('adminhtml/url') model object to generate URLs. What I always forget [...]

astorm

N98-magerun: Creating Hello World

This article is part of a longer series covering the n98-magerun power tool Now that we’ve got a build environment up and running, we can get to work creating our first n98-magerun command. Our end goal for today is to add a helloworld command to n98-magrun $ ./n98-magerun.phar list //... Available commands: helloworld Displays a [...]

astorm

Vinai/fix-sample-data.php

Vinai/fix-sample-data.php And Vinai’s fix for the duplicate URL problem partially/previously mentioned below. I try not to be hypercritical of Magento Inc./eBay because I know how hard these things are, but it really sounds like they pushed EE 1.13 out the door to have a Magento Imagine announcement. Fortunately the partner firms [...]

astorm

N98-magerun: Database Commands

This article is part of a longer series covering the n98-magerun power tool The database: That which, as Magento programmers, we’re not supposed to touch. Use the native objects is a refrain I’ve sung on more than one occasion, and it’s still what I recommend to people starting out with Magento. Of course, even if we [...]

astorm
email hidden; JavaScript is required