Categories


Recent Posts


Archives


The Curious Case of Magento 2 Mixins

This entry is part 4 of 6 in the series Magento 2: Advanced Javascript. Earlier posts include Magento 2: Javascript Init Scripts, KnockoutJS Primer for Magento Developers, and Magento 2: KnockoutJS Integration. Later posts include Knockout Observables for Javascript Programmers, and Modifying a jQuery Widget in Magento 2. We’re [...]

astorm

Magento 2: UI Component Retrospective

This entry is part 8 of 13 in the series Magento 2 UI Components. Earlier posts include Magento 2: Introducing UI Components, Magento 2: Simplest UI Component, Magento 2: Simplest UI Knockout Component, Magento 2: Simplest XSD Valid UI Component, Magento 2: ES6 Template Literals, Magento 2: uiClass Data Features, and Magento 2: UI [...]

astorm

Magento 2: UI Component Data Sources

This entry is part 7 of 13 in the series Magento 2 UI Components. Earlier posts include Magento 2: Introducing UI Components, Magento 2: Simplest UI Component, Magento 2: Simplest UI Knockout Component, Magento 2: Simplest XSD Valid UI Component, Magento 2: ES6 Template Literals, and Magento 2: uiClass Data Features. Later posts include [...]

astorm

The Madness of Modern Javascript

I came across this code recently while researching Magento 2’s UI Component system initComponent: function (node) { if (!node.component) { return this; } loadDeps(node) .then(loadSource) .done(initComponent); return this; } That block in the middle might confuse a junior programmer, but I’m no spring chicken. That looks like [...]

astorm
email hidden; JavaScript is required