Center-out and Situational Layer Cake
Application development. A free Pega lesson in simple English (4:01 minutes).
Open in the academy (practice, progress and notes)
Chapters
- 0:00 What you will learn
- 0:20 Three parts of an application
- 0:42 Top-down and bottom-up problems
- 1:09 Center-out
- 1:35 The Situational Layer Cake
- 2:19 How the two ideas work together
- 2:37 Practice question 1
- 3:09 Practice question 2
- 3:40 Summary
Lesson text
0:00 What you will learn
Welcome to lesson two. Today we explain two big Pega ideas, using one simple example from a bank. The first is Center-out. The second is the Situational Layer Cake. Both help you avoid building the same thing again and again. This is an independent course. It is not made or approved by Pegasystems.
0:20 Three parts of an application
Many applications have three main parts. At the top are the channels. A channel is how people use the application, such as a website or a mobile app. In the middle is the business logic. These are the rules and steps. For example, how does the bank approve a loan? At the bottom is the data. For example, customer details from other bank systems.
0:42 Top-down and bottom-up problems
Some teams start with the channels. This is called top-down. They build loan rules for the website, and then build the same rules again for the mobile app. Now the same rules are in two places. If the team changes only one, customers can get different answers. Other teams start with their data systems. This is called bottom-up. One system has a customer's address, and another has the loan history. It can be hard to see the full customer story in one place.
1:09 Center-out
Center-out starts in the middle. First ask, what result does the customer need? In our example, Meera needs a clear and fair loan decision. Then, put the business logic for that result in the center. Connect the website and mobile app on one side, and the data systems on the other. Now both channels use the same loan rules. And the logic is kept separate from the channels and the data, so it is easier to change a channel or a data system.
1:35 The Situational Layer Cake
Now, the second idea. Our bank works in many countries. Most rules are the same, but some are different. Should it copy the whole application for every country? No. Think of a cake with layers. The bottom layer holds what the whole company shares. For example, the login security, and the company colours. The next layer can be for one part of the company, such as home loans. It uses the shared parts, and adds home loan rules. The top layer can be for one situation, such as home loans in India. It adds only what is different there, like one extra document. This is just our example. Pega says layers can match parts of a company, and differences such as country, product, or customer group.
2:19 How the two ideas work together
How do the two ideas work together? Center-out keeps the rules separate from channels and data. The layer cake organizes what is shared, and what is different. Together, they help teams reuse work, and make changes in fewer places. But a team still has to plan its layers well, and test its changes.
2:37 Practice question 1
Question one. A bank builds the same loan rules once for its website, and again for its mobile app. Which approach often causes this problem? A, top-down. B, Center-out. C, the Situational Layer Cake. Or D, testing.
The answer is A, top-down. When each channel is built separately, the same rules can be built more than once.
3:09 Practice question 2
Question two. Only customers in Brazil need one extra form. Using the layer cake idea, what should the bank do? A, copy the whole application. B, add the form to a Brazil layer. C, change the form for every country. Or D, remove the shared layer.
The answer is B. Keep the shared parts, and add only the difference to a Brazil layer.
3:40 Summary
Let's review. Center-out starts with the customer's result, and puts the business logic in the middle. The Situational Layer Cake keeps common parts together, and adds only what is different. In the next lesson, we will learn about project roles, and how teams build Pega applications together. Thank you for learning with us.
Practice questions
The same loan rules are built for the website, and again for the app. Which approach often causes this?
Answer: Top-down. Top-down designs start from each channel, so the same logic can be built more than once.
Only customers in Brazil need one extra form. What should the bank do?
Answer: Add the form to a Brazil layer. Keep the shared parts and add only what is different.