Creating Web Applications with BSPs
Getting Started with Business Server Pages
Prerequisites for Creating Web Applications
Creating a Basic BSP Application
Creating a BSP Application
Creating a BSP
Creating the BSP Layout
Page Directive
Scripting
Inserting a Picture
Activating the BSP and the BSP Application
Calling a BSP Application
Importing a MIME Object from the MIME Repository
A Simple BSP Application
A Simple Online Book Catalog with User Interaction
Processing Procedure
Creating BSP Applications and Pages
First Page
Defining the Layout for the First Page
Defining Page Attributes for the First Page
Defining Event Handlers for the First Page
Defining the Navigation Structure
List of Authors
Specifying Layout for List of Authors
Defining Event Handlers for the List of Authors
Defining Page Attributes for the List of Authors
Results List
Defining Layout for the Results List
Defining Event Handlers for the Results List
Defining Page Attributes for the Results List
A Simple BSP Application with HTMLB
Online Book Catalog
Creating BSP Applications and Pages
First Page
Defining the Layout for the First Page
Defining Event Handlers for the First Page
List of Authors
Specifying Layout for List of Authors
Results List
Defining Layout for the Results List
Online Bookshop
Online Bookshop
Processing Process
Separation of Data Retrieval, Evaluation, and Output
Data Model for the Bookshop Tutorials
Creating BSP Applications and Pages
Creating Page Fragments
Layout for the First Page
Layout for the Info Page
Search page
Layout for the Search Page
Page Attributes for the Search Page
Event Handlers for the Search Page
Layout for the “Invalid ISBN” Page
Results Page
Layout for the Results Page
Page Attributes for the Results Page
Event Handlers for the Results Page
Book Page
Layout for the Book Page
Page Attributes for the Book Page
Event Handlers for the Book Page
Layout for the Error Page
Layout for the Confirmation Page
Navigation Structure
Further Developing the Online Bookshop
What’s New?
Extending the Online Bookshop
Processing Process
The Application Class
Creating BSP Applications and Pages
Shopping Basket Page
Layout
Page Attributes
Event Handlers
OnRequest
OnInitialization
OnInputProcessing
Order Page
Layout
Page Attributes
Event Handler
Registration Page
Layout
Page Fragment for User Input
Page Attributes
Event Handler
Layout for the Registration Confirmation Page
Modifying the Entry Page
Modifying the Results Page
Modifying the Search Page
Modifying the Title Bar
Modifying the Order Confirmation Page
Model View Controller Tutorial
Creating a Controller
Creating a View
Calling a Controller
Our Little Online Bookshop Using MVC and HTMLB
Bookshop Structure
Creating BSP Applications, Controllers and Views
Creating Main Controller bookshop.do
Creating Main View default.htm
Creating Page Fragment head.htm
Creating Controller search.do for the Search
Creating View search.htm for the Search
Creating Controller result.do for the Results List
Custom-Rendering for the Author Column
Interface IF_HTMLB_TABLEVIEW_ITERATOR
Creating View result.htm for the Results List
Creating View detail.do for the Detail Display
Creating View detail.htm for the Detail Display
Creating View about.htm for the Detail Display
Creating Pages with Flow Logic corder.htm