beautypg.com

Figure 2-2, A dynamic publishing site – Apple WebObjects 5 User Manual

Page 15

background image

C H A P T E R 2

What Is WebObjects?

Dynamic HTML Publishing

15

Apple Computer, Inc. January 2002

Figure 2-2 shows a WebObjects-based dynamic publishing site. Again, the request
(in the form of a URL) originates with a client browser. If the HTTP server detects
that the request is to be handled by WebObjects, it passes the request to an HTTP
adaptor. The adaptor packages the incoming request in a form the WebObjects
application can understand and forwards it to the application. Based upon
templates you’ve defined and the relevant data from the data store, the application
generates an HTML page that it passes back through the adaptor to the Web server.
The Web server sends the page to the client browser, which renders it.

Figure 2-2

A dynamic publishing site

Relational database

Web server

WebObjects

adaptor

WebObjects

application

Templates

Static

HTML
pages

Web

browser

Web

browser

Web

browser

Request
http://store.apple.com/...

Response
HTML page