In this tutorial we create the same online bookshop as in Tutorial 3 (Our First Online Bookshop) but this time using MVC and HTMLB.
This has the advantage over the previous BSP application that you have several components on one page, where each component is represented by a controller and a view.
You should do this tutorial if you are used to creating BSP applications (ideally once you have completed all of the tutorials) and you want to use MVC and HTMLB to create your applications. You should also have already completed the shortModel View Controller Tutorial.
Each tutorial builds on the information presented in the previous one.
You can also read the reference documentation on theSAP Web Application Server, which explains the systemís architecture and components:
You can find documentation about the MVC Design Pattern inModel View Controller (MVC).
You can find documentation on BSP extension HTMLB in the system: you can display detailed documentation for each HTMLB element in the Tag browser of the Web Application Builder.
In this tutorial you will learn how to:
SectionBookshop Structure describes how you set up the BSP application to be created.
SeeCreating BSP Applications, Controllers and Views for the exact procedure.
This model does not explain the use of models; for this comparatively simple application you need controllers and views only.
The tutorial ends without any defined error pages. You can find information about using and creating error pages in the MVC documentation inCreating Error Pages.