Client Pages

The mappings between client page model elements and code are essentially the same for all server-side enabling technologies. Unless VBScript is used as the client-side scripting language, all client page code is implemented as JavaScript. This, of course, doesn't mean that objects in a Web Delivery architecture have to be coded with JavaScript; just the operations and attributes of the <<client page>> do.

In the shopping cart example, only the server page elements were mapped to the GetCart.asp file. The rest of the ASP file comes from the realizations of the OnLineCart client page and the CartForm form. Figure 11-7 shows the relevant model elements for this page.

Figure 11-7. GetCart.asp client page model elements

The mapping ...

Get Building Web Applications with UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.