Benefits of using design templates
When designing a complex application, it is important to identify design patterns (repeatable solutions to common problems in design) and use them consistently throughout the application.
In the following two screen shots, the regions highlighted in yellow represent the same design pattern that is used to render an item inside a list.
Design template definition
A design template is a reusable asset that defines a set of layouts for an application. It is a way of separating data from its presentation. Design templates can be used for individual sections or for entire pages.
Let's look at an example of a profile card for an entity.
It is a simple layout that can be made using a design template with regions for name, rating, and information. The Information region in this example contains both the date of birth and the city of residence.
Benefits of design templates
Design templates offer many benefits.
- Codify design patterns in your application
- Ensure consistency of layouts
- Allow patterns to be easily reused elsewhere
- Provide a common language between designers and developers
Because a design template points to a single object, any change or update to the design template is reflected immediately to any instance where it is in use.
Check your knowledge with the following interaction.
Dieses Thema ist im folgenden Modul verfügbar:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?