Category Magento

Faking a Composer Repo

This is just a quick tip. How can you have a project behave like a Composer repository, but where the packages are in subdirectories of a git repository. First, if the package is the only package in the git repository and the composer.json file for the package is in the root directory, composer can reference […]

Magento DevBox

“Magento DevBox” is the name for a new Magento 2 development environment under development. It is being built by Magento as a standard way to develop Magento 2 sites for developers on a local development machine (a laptop or desktop). It is built upon Docker, but should not be confused with other Docker projects intended […]

Headless Magento and Extensions

With the improved REST APIs in Magento, more “headless Magento” projects are emerging. This is where some other software provides the “glass” (presentation code) and Magento provides all the underlying ecommerce functionality (cart, taxes, shipping, order management, etc). But should extension developers do anything different in Magento 2 to work in such scenarios? Headless Magento […]

Personalization (Quick Note)

The Future Commerce podcast has some thought provoking interviews. A recent discussion was on the use of AI techniques and testing to try to automatically determine the best products to put forward first, instead of always showing the same category images. That is, adjust the experience for different users and compare their results to work […]

Unison for File Syncing

Virtualization technologies such as Docker, Vagrant, and Virtualbox provide new opportunities for pre-built development environment images. But where do your project files go? I personally prefer keeping my files on my local development machine (a laptop in my case) – it is generally faster to develop in (the IDE is faster) and it means I […]

Magento 2 Tool Chain

In this post I review the typical stages in a Magento 2 tool chain, from development to production. This tool chain is for sites using the Magento “development” and “production” modes, not the simpler “default” mode where you tend to operate directly on the site. There are variations, but I thought a useful to put […]

Conventions for Sass in Magento 2

SNOW.DOG, led by Bartek Igielski, have been working on a Sass port of the blank theme Less files. This work is spinning up a number of parallel discussion threads, some of which I thought worth sharing here, with the intent of getting community feedback. Example discussion threads include: Reviewing CSS class naming – will improved […]

Semantic Versioning and Patch 2.1.2

The recent Magento 2.1.2 patch did not strictly follow the semantic versioning rules for patches. In this case we made a judgment call that the benefit to customers based on feedback we received (especially as we approached holiday peak) outweighed the negatives. The change was new service contracts were added to formalize the API to existing internal functionality. […]

Windows 10 and Virtualization (Quick Note)

I just upgraded my laptop to Windows 10. I am a Docker fan, so was keen to try out the Docker 1.12 public beta with the new Windows 10 Hypervisor. However, I also use Vagrant. I thought I would share a few unexpected things I encountered. And of course, I am interested in the best […]

Magento 2 Development with Windows and Vagrant

This is another exploration of development environment setup for Magento 2 development. This will feed into an official recommendation, but sharing some experiments along the way that can be used immediately. Feedback and comments are always welcome, as ultimately it is you the reader that this effort is for. What is Vagrant? In a nutshell, […]