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.

Quick Script to Generate DB Dump

This is a small PHP shell script that will extract the default connection information from local.xml and construct the correct command-line script to do a no-locking dump of the database. You’ll need to be in the root folder of a system for this to work. Useful if you spend a lot of time debugging different systems. #!/usr/bin/env [...]

astorm

Missing ACL Roles in Admin

If you’ve setup your own API methods and are having some trouble getting the resources to show up in the admin console’s resource list, make sure that each resource ACL group node and each each individual ACL node in api.xml have a module= translation attribute <assign_simple_product_to_configurable translate="title" [...]

astorm

You Cache is Unzipped

You Cache is Unzipped Magento uses the Zend Framework for database access. The Zend Framework’s database code will cache table schemas so it doesn’t need to do a MySQL DESCRIBE for every model on every instantiation/load/save. These caches exist outside of the Magento caches you can enable/disable via the GUI. I lose a few [...]

astorm

Configurable Product Research

Whenever I’m about to tackle a Magento project and/or feature that requires deep knowledge of a new-to-me subsystem, I spend a half-day to a day writing up something like the information below. Sort of an anti-UML, it’s a high level narrative of the relationships between particular objects and systems in Magento. Beyond [...]

astorm
email hidden; JavaScript is required