Using bricks and blocks for a general-purpose template
What we want to do in this section is to find a solution for implementing all kinds of layouts without wasting hours creating custom templates. Theoretically speaking, we could have a set of base objects and then mount them together to create all kinds of websites. In practice, this is what we should do with Pimcore:
The previous diagram shows how a multipurpose layout is structured. We have many horizontal sections (Section 1, …, Section N) that can be divided into columns (col1, col2, col3). In each place, you will be able to add bricks for composing the page in any layout you want.
Theoretically speaking, we need to add a block iteration that will print rows inside another block iteration that will print columns. This lets us create a matrix of elements where we can add an areablock
that lets us choose any brick we want. This layout is quite easy to implement...