Client-Side Presentation Logic
597
Our XML Centric Design
From our analysis, we can conclude that the design must incorporate:
q
Significant client-side processing of the information, reducing the need for server-side
development
q
Intelligent optimization of the information transmitted between the client and server; ideally
only new sell-off information should be transmitted during each update
q
Customization of presentation according to each travel agency (for example, the specialized
tropical travel agencies do not want to sell trips that have a commission of less than $300)
We will satisfy every one of the above requirements with our design. The figure below shows the
general approach at a high level:
Client-side Processing
Server-side Processing
Client application
logic
Server application
logic
Request trips since last update
Sends XML dataset of only new trips
Extracts RDBMS information
Filters and
renders information,
manage user
interface
User input
and interactions
Each travel agency will access a specific URL that loads a web page displaying a customizable applet.
The applet is customizable via <param> in the <applet> tag of the HTML page. This applet will
contact a servlet at the headquarters to download and display the required information.