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.

tim-reynolds/magento-qconfig

tim-reynolds/magento-qconfig When I started using Magento the System Configuration section made me feel a little dumb — so many options, but no easy way to search for things. I’d always forget where a particular option was. After a few months of using grep and ack to search though the system.xml files and work backwards to figure [...]

astorm

Replay SQL Log

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

Magento Composer `deploy-all` Command

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

Cross Area Session Access

Cross Area Session Access Speaking of sessions, I whipped up a quick proof of concept for accessing admin sessions from the frontend of Magento — useful if you want to restrict frontend access using backend session ACL rules. Right now it works with file and db session storage — memcache, redis, etc. would need their own Loader model [...]

astorm
email hidden; JavaScript is required