Download as a PDF

Transcript
46
management facilities to a hypertext system, one can hard code the facilities into an
existing system, or have the hypertext system store its data in an existing database
management system. We feel the second approach is far superior, since one does
not have to "reinvent the wheel" in every hypertext system built.
To run a hypertext system on top of an existing database management system,
there are two options (Figure 1). Under option (a), a monolithic hypertext system
interacts directly with the DBMS. The hypertext system must map its objects into
the data model supported by the DBMS, either relational or object-oriented. To
manipulate data, say to retrieve a particular node, the hypertext system must generate
the appropriate query to the underlying DBMS. Option (b) differs from option (a)
in that the hypertext system has been split into two components. The Interface
System handles all interactions with the end user, rendering nodes on the screen,
presenting menus to the user, showing "buttons" for traversing a link, and so
on. What we have called HyperFile is a system that captures the common data
management functionality needed by most hypertext interfaces. The key idea is that
a single generic HyperFile system can tailor the data services offered by the even
more generic DBMS to better serve a particular class of applications, in this case,
hypertext applications. (Note that we do not rule out direct access to the DBMS
by the Interface System. This is shown by a dotted line in Figure l(b).) The term
"blade" has recently been coined (Stonebraker, 1993; Ubell, 1994) to refer to this
type of add-on system that enhances a DBMS for a particular class of applications.
(This is analogous to how a blade is added to a razor. I) Using this notion, HyperFile
can be viewed as a blade for hypertext management.
There are at least four types of functionality that HyperFile can provide:
1. Data Model HyperFile presents to the Interface System a hypertext data
model. From the point of view of the underlying DBMS, this "model" is
simply a class library or pre-defined schema.
2. A Query Language. The common queries that the Interface System must
generate are captured more easily and naturally in this language than in the
underlying DBMS query language. HyperFile translates the incoming queries
into DBMS queries, in much the same way as C+ + is translated into C by
some compilers.
3. Indexing Facilities. HyperFile can implement indexes that speed up the commonly expected hypertext queries. These indexes enhance, rather than replace,
the index facilities provided by the underlying DBMS. These HyperFile index
structures are stored in the DBMS, which treats them as application data.
4. Distribution Facilities. If the hypertext objects are stored on a collection
of independent DBMSs, HyperFile can provide transparent access to these
objects. If the underlying DBMSs are already integrated into a distributed
1. The implicationis also that a companywill make more moneysellingthe blades than sellingthe razor.
Our discussionhere is independentof the financialaspects.