Basic terms related to layout XML
You might be wondering what XML stands for here. It is very simple: the structure of the page you are browsing on all Magento 2 stores pages is defined in the XML files. Yes, files – plural; there might be multiple XML files that modify a single page structure. It also might be the other way around: there may be one XML file to specify or modify the structure and layout of multiple pages. I’ll explain this in detail; don’t worry.
In Chapter 1, we used a small analogy to explain the services that are needed to run AC/Magento 2 Open Source. As we move forward, I will introduce new terms related to page rendering, drawing on a similar analogy that was used in Chapter 1. For this purpose, I will liken the final HTML AC building process to various aspects of building construction:
- Layout XML files: In building construction, blueprints are detailed plans that provide the design and layout of a building, including the positioning...