beautypg.com

How direct to web works, Figure 5-10 – Apple WebObjects 5 User Manual

Page 55

background image

C H A P T E R 5

Direct to Web Applications

How Direct to Web Works

55

Apple Computer, Inc. January 2002

Figure 5-10

An example Basic look page

How Direct to Web Works

As you have seen, Direct to Web applications have a fixed structure. They consist of
a set of task pages (for example, query, list, and edit pages) that work for any type
of enterprise object. These task pages are created using special WebObjects
components called Direct to Web templates.

A Direct to Web template uses information from the entities of the enterprise objects
it displays. An entity is the piece of the model that specifies how a table maps to a
specific enterprise object. The Direct to Web template takes advantage of the entity’s
property information (that is, information about the entity’s attributes and
relationships) and determines the properties it needs to display. For example, a