OSL 3.0 Explained
OSL 3.0 Explained I am still not your, or anyone’s, lawyer, but this is a great breakdown of the motives and intent of the OSL software license. (tip fo the hat to hakre)
astormBack 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.
OSL 3.0 Explained I am still not your, or anyone’s, lawyer, but this is a great breakdown of the motives and intent of the OSL software license. (tip fo the hat to hakre)
astormSerializable Fields in Magento Collections The behavior of model objects in a model context vs. a collection context is one of those problems most classic OOP (i.e. Java) style language/frameworks often miss on. Needing to learn the rules of what gets loaded when means more mental overhead is added when you’re coding, and the goal [...]
astormI’m happy to report n98-magerun have incorporated and improved my old attribute migration generator script into a new dev:setup:script:attribute command. $ n98-magerun list dev:setup:script ... Available commands for the "dev:setup:script" namespace: dev:setup:script:attribute Creates attribute script for a given attribute code If [...]
astormThroughout this series we’ve skirted around one important issue. Namely, the opaque nature of PHP’s phar format. Many groups claim the term “open source” in someway or another. There’s open source the license, which dictates how and where code can be used and shared. Then there’s open source “you [...]
astormChanging Router Object Order via local.xml Clever bit of configuration from Ben Marks to sneak the CMS Router in before the Admin and Standard routers.
astormMagento Inc. Decides EE 1.13 is not Ready for Production On one hand it’s good to see a company candidly admit a mistake to its customers. On the other hand this isn’t the first time a version’s been rushed out the door so there’s something to talk about at Magento Imagine. The next year or two is going to be [...]
astormProduct with Empty Name Causes Home Page 404 Check the answer comments for more details. This is/was an EE 1.13 problem.
astormRecursive Layout Updates won’t Work in CMS Page Model Meaning you can’t use the <update handle="foo"/> syntax when you’re entering a custom layout update to use on a specific XML field. I encounter this bug about a once a year.
astormMagento 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 [...]
astormAlan Storm: Magento Admin Hello World Revisited I rewrote my original Magento admin console hello world article to be more, um, correct. My original Magento articles weren’t based on a mystical deep knowledge of the system — they were plain old trial, error, and analysis. For the most part I figured out what the core team was on [...]
astormLong Running Admin Page Requests Blocking Other Requests The dark art of PHP session management.
astormStop 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 [...]
astormMaybe 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 [...]
astormThis 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 [...]
astormI was about to update the n98-magerun article with some positive developments on those phpunit dependencies when, much to my surprise, this happened All the XML in code blocks is gone. Vanished. Something something other people’s free blogging systems. Fortunately the post is mostly available via the V1 API (with entity encoded [...]
astormThis article is part of a longer series covering the n98-magerun power tool Today we’re going to run through setting up your own n98-magerun development environment. This will allow you to develop your own features and contribute bug fixes back to the main repository. This one’s a little longer than our normal Magento [...]
astormVinai/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 [...]
astormWhat’s wrong with the new url-keys in Magento? – Fabrizio Branca Some musings by Fabrizio Branca on changes to Magento’s product URL handling. I haven’t dug deeply into this, but it sounds like there’s a new typed (vs. a varchar), per store EAV attribute for product URL keys with unique indexing, but the [...]
astormThis 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 [...]
astormThis article is part of a longer series covering the n98-magerun power tool We’re almost at the end of our n98-magerun command review. Today we’re going to blitz through the remaining commands on our plate $ n98-magerun list local Available commands for the "local-config:generate" namespace: local-config:generate Generates [...]
astorm