Purpose
In this tutorial we create the same online bookshop as in Tutorial 3 (
Our First Online Bookshop) but this time using MVC and HTMLB.Introductory Comments
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 short
Model View Controller Tutorial.Integration
Each tutorial builds on the information presented in the previous one.
You can also read the reference documentation on the
SAP Web Application Server, which explains the system’s architecture and components:You can find documentation about the MVC Design Pattern in
Model 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.
Features
In this tutorial you will learn how to:
Section
Bookshop Structure describes how you set up the BSP application to be created.See
Creating BSP Applications, Controllers and Views for the exact procedure.Constraints
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 in
Creating Error Pages.