Apple WebObjects 5 Uživatelský manuál Strana 56

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 108
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 55
56 How Direct to Web Works
Apple Computer, Inc. January 2002
CHAPTER 5
Direct to Web Applications
Direct to Web template displaying a list page for Movie objects can determine that
it needs to display the title, release date, category, and other attributes for each
movie on the page (Figure 5-11).
Figure 5-11 Determining attributes from the entity
Direct to Web applications can be configured using a Java applet called the Direct
to Web Assistant. The configuration information is stored as a database of rules.
Rules say something like “if the task page is a list page and the entity is the Movie
entity, do not display the banner.” Each rule has a priority and rules with higher
priority override rules with lower priority. Direct to Web defines a set of default
rules that define the basic application behavior. You can define higher priority rules
Product objects
Server
partNum W4378
color Red
size XL
retail 48.99
Product attributes
Name External type
partNum VARCHAR2
color VARCHAR2
size VARCHAR2
retail NUMBER
Product entity
..................
...........
..................
...........
Zobrazit stránku 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 107 108

Komentáře k této Příručce

Žádné komentáře