Quantcast
Channel: Magento – Alan Storm

Magento 2’s Automatic Dependency Injection

$
0
0
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 Magento's object manager, as well as Magento's implementation of the popular

Magento 2 Object Manager Preferences

$
0
0
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 ends up playing a different role in Magento 2. Where Magento 1's class rewrites were aimed

Magento 2 Object Manager Argument Replacement

$
0
0
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 Magento 2. While this article should be accesible as a stand-alone tutorial for

Magento 2 Object Manager Virtual Types

$
0
0
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 argument replacement -- Virtual Types.

Magento 2 Object Manager: Proxy Objects

$
0
0
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 challenges. Put another way, new patterns create new problems.

Magento 2 Object Manager: Instance Objects

$
0
0
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 Magento 2.

Magento 2 Object Manager Plugin System

$
0
0
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 generation, we're finally familiar enough with the object system to discuss the true replacement for Magento 1's class rewrites

Magento, Varnish, and Turpentine

$
0
0
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 connected to the Magento ecosystem, it's

Using Squid for Local Hostnames on iPads

$
0
0
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 sources everything I needed or wanted

Commerce Bug 3 for Magento 2

$
0
0
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 extension and in-browser IDE. The official press releases for the 3




Latest Images