Tag Archives: layout

Declarative vs Imperative Layout Files in Magento

Layout files can be a love/hate relationship. They are both powerful and complex. In this post I explore the difference between declarative and imperative styles of designing layout files (with a particular focus on Magento 2) and the pros and cons of the two approaches. The View Element Tree This blog is intended for those […]