Chapter 7. Composing your pages
In this chapter:
- Grouping components with WebMarkupContainers, Panels, and Fragments to maximize reuse
- Creating consistent, maintainable layouts with markup inheritance and panel replacement
One of the biggest challenges of designing and building a lasagna is to create as many layers as you can possibly fit in the baking dish, without turning the lasagna in one giant noodle. Years of empiric research have shown that the best lasagna has between five and seven layers. According to our recipe, this means stacking a thin layer of sauce, a couple of salami slices, cheese slices, a thin layer of spinach, and a layer of lasagna noodles on top of each other, and repeating until the only thing we have room for on top ...