Professional Documents
Culture Documents
Starts with
the analysis model, the user experience model, and the software architecture document
The principal activity is to refine the analysis model such that it can be implemented with the components that obey the rules of the architecture Design activities revolve around the class and interaction diagrams
Classes become more defined, with fully qualified propertiesname and typeand operationscomplete signatures
September 2007 IF4061 2
For example, a Web application that uses only the thin Web client architectural pattern is not capable of supporting user-defined objects on the client.
Therefore, all objects must exist somewhere in the server's tier
It is vital to capture Web pages as first-class elements in the model and to represent them alongside the classes and components
We need to represent Web pages in the model
The building blocks of UML are not sufficient to express the necessary subtleties of scripted Web pages as objects in a class diagram
To accommodate this, the UML creators defined an extension mechanism for UML
September 2007
IF4061
September 2007
IF4061
HTML Form; a collection of input fields that are part of a client page
September 2007
IF4061
September 2007
IF4061
<<include>>
September 2007
IF4061
September 2007
IF4061
10
Association Stereotypes
September 2007
IF4061
11
September 2007
IF4061
12
September 2007
IF4061
13
September 2007
IF4061
14
Dynamic Page
A resource that can be requested by a client browser. When requested or delegated to via a forward relationship, server-side processing takes place. The results of this processing can change the state of the server and be used to construct some of the HTML that is streamed out to the requesting client. Dynamic pages can accept user input submitted by forms.
Physical Root
An abstraction of a file hierarchy that contains requestable resources. A physical root package maps directly to a Web server file system directory. Tag values in this element identify the host name and the application context, which are necessary for resolving a component under this directory into a valid URL
Web page design elementsclient and server pagesare discovered by first looking at the UX model and understanding the software architecture document The early generations of Web applications, Web pages mapped one to one to UX model screens
Each page was responsible for preparing its output by interacting with server-side objects
Today's development environments and frameworks enable us to build more robust, sophisticated Web applications
The two predominant Web architecture frameworks available today are J2EE and .NET.
15 September 2007 IF4061 16
September 2007
IF4061
Client-Side Scripting
Designing Web applications that have dynamic client pages requires careful attention to the partitioning of the objects Thick Web client applications can have all sorts of objects and activity on the client
Client Collaboration
September 2007
IF4061
17
September 2007
IF4061
18
Server Collaboration
September 2007
IF4061
19
September 2007
IF4061
20
Keep the focus of server pages on the construction of the user interface
Avoid placing business logic code in the server page. Use external objects to encapsulate this type of logic
September 2007
IF4061
21