| The
request-response cycle

Desk top aplications use an event driven i/o cycle
Web applications use a request-response i/o cycle
- Client web browser requests a page from a server using
HTTP protocol
- Server builds response in HTML code from files and programs
- Server returns response to client
- Client displays the HTML in appropriate format
HTML is a page description or text markup language
- It is not a programming language
- It doesn't support variables or any sort of dynamic information
Adding dynamic information to the request-response
cycle

The WOAdaptor is the link between the HTTP request-response cycle
and your object-oriented web application
CGI adaptor provides interface to any standard HTTP server
Server specific adaptors are more efficient, e.g. Netscape API
WOApplications modify the request-respone i/o cycle
- Client web browser - requests a page from a server using
HTTP protocol
- HTTP server - sends the request to the WOAdaptor
- WOAdaptor - packages the request into a WORequest object
and sends it to the WOApplication
- WOApplication - replaces the <WEBOBJECTS> tag
in the HTML with HTML to layout the dynamic elements on the page
- WOApplication - returns a WOResponse object to the WOAdaptor
- WOAdaptor - extracts the HTTP response and sends it
to the HTTP Server
-
HTTP Server - sends HTML page to client
Demo : Building a WebObjects Application ( Download
)
|