Book Image

Modernizing Enterprise CMS Using Pimcore

By : Daniele Fontani, Marco Guiducci, Francesco Minà
Book Image

Modernizing Enterprise CMS Using Pimcore

By: Daniele Fontani, Marco Guiducci, Francesco Minà

Overview of this book

Used by over eighty thousand companies worldwide, Pimcore is the leading open source enterprise-level content management system (CMS) solution. It is an impressive alternative to conventional CMSes and is ideal for creating e-commerce and complex enterprise websites. This book helps developers working with standard CMSes such as WordPress and Drupal to use their knowledge of CMSes to learn Pimcore CMS in a practical way. You'll start by learning what Pimcore is and explore its various services such as PIM, MDM, and DAM. The book then shows you various techniques for developing custom websites in Pimcore based on the scale of your organization. You'll learn how to use Pimcore to improve the digital transformation of a company by implementing enterprise Pimcore features. As you advance, you'll discover Pimcore's capabilities and features that make it a faster and more secure alternative to traditional CMSes. As well as demonstrating practical use cases, Modernizing Enterprise CMS Using Pimcore can help you understand the benefits of using Pimcore as a CMS solution, sharing best practices and proven techniques for designing professional Pimcore sites. By the end of this book, you'll be a trained Pimcore developer, able to create complex websites, and be well-versed in Pimcore's enterprise features such as MDM, PIM, and DAM.
Table of Contents (16 chapters)

Creating a template

The purpose of this chapter is to give you the basics for rendering a document properly. This is only one small part of Pimcore's rendering capabilities, and we go deeper into this topic in Chapter 10, Creating Pimcore Bricks, to discover all the secrets of rendering custom data. For now, we will focus only on the information we need to create simple websites.

The Pimcore page design process

The first concepts to introduce are templates and layouts. The layout is a generic page prototype where you can leave some placeholders that will be filled by templates. For example,you can have a layout page with two columns and two placeholders, one per column. On each page, you will be able to fill the content inside each placeholder. Such placeholders are called Blocks in Twig syntax, and you can define how many blocks you want.

In the following figure, you can see how the web page design process works:

Figure 4.6: The template engine...