| Newsgroups |
gmane.comp.web.services.ws-arch |
| Message-ID |
<[email protected]> |
Mark,
Date: Wed, 21 Aug 2002 12:08:09 -0400
From: Mark Baker <[email protected]>
To: [email protected]
Subject: "hypertext"
Just a quick note to try to shake up some of the preconceived notions
of what "hypertext" is or isn't.
"Hypertext" is roughly what you get when all of your distributed objects
have a single method which means "give me your state" (i.e. pickling,
serialization). So rather than an object representing a stock quote
with an interface with methods such as getCurrent, getOpen, etc.. you
have a single method (GET) which returns a representation of the full
state of the object, e.g.
<quote symbol="foo">
<current>12.5</current>
<open>12.25</open>
</quote>
<maj>
It seems more flexible to think of "hypertext" as returning some view
of an object. If you wanted, you could objectify the views I suppose
and then think of those as the objects that you were referencing, but
this would tend to obscure (for good or bad) the relationship of the
view to the entire object.
The common use of GET for queries heads in this same direction.
A query result is a subset (or view) on the entire database
being gotten.
URL's that point to a fragment or position in a document are
another example of subsetting or modifying an object reference.
</maj>
So it doesn't in any way constrain what can be represented (all
objects can be pickled). Nor does it constrain the consumer of that
information to requiring a human process it (that depends on the
specific form of serialization; HTML for humans, RDF/XML for
machines). It only constrains the way in which the information is
made available; through a generic method invoked upon an object
identified by a URI.
<maj>
Can you define "pickled" for me?
</maj>
--mark
Mark A. Jones
AT&T Labs
Shannon Laboratory
Room 2A-02
180 Park Ave.
Florham Park, NJ 07932-0971
email: [email protected]
phone: (973) 360-8326
fax: (973) 236-6453
MB
--
Mark Baker, CTO, Idokorro Mobile (formerly Planetfred)
Ottawa, Ontario, CANADA. [email protected]
http://www.markbaker.ca http://www.idokorro.com