Magento 2’s Automatic Dependency Injection
This week's article is the second in a series discussing Magento 2's object system. Last time we covered the basics of Magento's object manager. This week we're going explain why you'll rarely use...
View ArticleMagento 2 Object Manager Preferences
Today we're going to explore the "class preference" feature of Magento 2's object-manager/dependency-injection system. While this feature is a direct descendant of Magento 1's class rewrite system, it...
View ArticleMagento 2 Object Manager Argument Replacement
In the last article of our series, we covered the "class preference" feature of Magento's object manager. This week we'll cover a similar, but more selective, class replacement system built into...
View ArticleMagento 2 Object Manager Virtual Types
Last time we discussed the argument replacement feature of Magento 2's object manager, and introduced the <type/> tag in di.xml. This week we're going to talk about another feature related to...
View ArticleMagento 2 Object Manager: Proxy Objects
With their take on an object manager/container and dependency injection, Magento have created a new way for PHP programmers to work. With that new way of working comes a new set of unanticipated...
View ArticleMagento 2 Object Manager: Instance Objects
It's been a long and winding road, but the end is in sight! In this, the penultimate article in our object manager tutorial, we're going to discuss working with instance and non-injectable objects in...
View ArticleMagento 2 Object Manager Plugin System
We're finally here. After our long path through the object manager, automatic constructor dependency injection, class preferences, argument replacement, virtual types, proxy objects and code...
View ArticleMagento, Varnish, and Turpentine
Today we're going to take a break from Magento 2 and talk about using Varnish as a tool for improving the performance and scalability of your Magento 1 system. While Magento 2 is on the mind of anyone...
View ArticleUsing Squid for Local Hostnames on iPads
Just a quick writeup this time on how I'm using Squid to help debug PHP/Magento issues on an iPad with a non DNS hostname. I'm not exactly breaking new ground here, but I found none of the existing...
View ArticleCommerce Bug 3 for Magento 2
This one's just a quick commercial interruption to let everyone know Pulse Storm has recently released Commerce Bug 3 for both Magento 1 and Magento 2 systems. Commerce Bug is a programmers debugging...
View Article