Chapter 10: Creating Pimcore Bricks
In the previous chapter, we learned how to use Pimcore to create entities and render custom web pages. Previously, in Chapter 8, Creating Custom CMS Pages, we discovered how to create CMS pages using the web interface or custom Model View Controller (MVC) pages. In both cases, we'd like to have some reusable components that can be defined once and used in every case by changing some settings. Think about a contact form widget that you can drag and drop on any web page. Well, these kinds of reusable components in Pimcore are called Bricks.
In this chapter, we will learn how to build reusable components that can be placed in CMS or MVC pages and, moreover, can be ported from project to project using bundles.
This is our roadmap:
- Creating a bundle
- Understanding how a Brick works
- Implementing a simple Brick
- Implementing a contact form Brick
- Implementing a Slideshow brick
- Using bricks and blocks for a general-purpose...