In Chapter 1 I have explained what we will build and how the data model looks like. Now it's time to do something with that data model and make it work for us!
Business Components allow us to easily map the database object and extend on it with business logic, validation and so on.
The idea behind Business Components it to abstract the data layer from the view layer. This is a key concept in the MVC pattern. Business Components will expose the interface to the view layer by using an Application Module which contains View Object. Those view objects will contain a specific usage of the data layer.
If this explanation sounded a little abstract, no worries. I will explain this later on with some examples and everything will become clear.
If you didn't start with chapter 1, please have a look at it because you need to the data model to be able to follow this tutorial.
In this chapter you will find answers to following questions:
- What are entity objects
- What are view objects
- What is an application module
- How do we create business components from tables
- How to use the application module to test and populate the data model.