Apple Newton Utilities Guide de l'utilisateur Page 510

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 509
CHAPTER 12
Special-Purpose Objects for Data Storage and Retrieval
12-4 About Special-Purpose Storage Objects
Except for soup parts, all the parts listed in Table 12-1 are called frame parts
because they include a part frame which holds the items comprising the frame part.
Such items may include icons, scripts, other parts, binary data and so on. A
soup
part, on the other hand, does not have a part frame and is composed of soup data only.
When a frame part is loaded, the system disperses the contents of its part frame to
the appropriate subsystems. For example, in addition to the application itself,
which is a
form part used by the Extras Drawer, the part frame in an application
package might include a custom icon used by the Extras Drawer, a custom dictionary
used by the recognition subsystem, a soup part that provides application data, and
an
InstallScript function that performs application-specic setup tasks.
Store Parts 12
A store part is a part that encapsulates a read-only store. Because you can build
store parts into application packages, the store part is sometimes referred to as a
package store.
Soups can reside on package stores, just as they do on normal stores; however,
because package stores are read-only, soups residing on package stores must also
be read-only. Store parts can be used to provide soup-like access to read-only data
residing in an application package.
For more information about the characteristics of soups, see “Soups” on page 11-7
and “Using Soups” on page 11-32.
Mock Entries 12
A mock entry is a NewtonScript object that mimics the behavior of a soup entry.
The mock entry is a foundation object you can use to build up a suite of objects
that acts like the system-supplied store, soup, cursor, and entry objects. For
example, you could create a mock entry object that uses a serial communications
link to retrieve a record from a remote database; additional objects could implement
methods to provide cursor-like access to these mock entries, just as if they resided
Table 12-1 Parts and type identiers
Part Type Description
Application form Application.
Book book Book created by Newton Book Maker or Newton Press.
Auto part auto Background application/extension.
Store part soup Read-only soup.
Dictionary dict Custom dictionary for Newton recognition subsystem.
Font font Additional font.
Vue de la page 509
1 2 ... 505 506 507 508 509 510 511 512 513 514 515 ... 941 942

Commentaires sur ces manuels

Pas de commentaire