Would not references solve the problem? Your entire namespace is flat and your collections contain nothing but references. Yaron > -----Original Message----- > From: John Stracke [mailto:francis@netscape.com] > Sent: Thursday, August 06, 1998 3:47 PM > To: ejw@ics.uci.edu > Cc: Falkenhainer, Brian C; w3c-dist-auth@w3.org; Garnaat, Mitchell > Subject: Re: Docushare and WebDAV model > > > Jim Whitehead wrote: > > > Of course, from a user interface standpoint, exposing an > internal identifier > > like a document id in the user interface is generally a bad idea, > > Yeah, well, a filename is an internal identifier, too. :-) > > > Since the URL has actions embedded within it, it is unclear > to me how it > > should react to non-GET requests. For example, what should > the action be if > > I perform a DELETE on > > > http://demo.opentext.com/livelink/livelink?func=doc.browse&nod eid=22278 > > There are competing commands here -- the DELETE says to remove the resource > <http://demo.opentext.com/livelink/livelink> while the stuff to the right of > the question mark indicates that a "doc.browse" operation is to be > performed. Weird, eh? This is why I (and many others) think this approach > is a poor design from an HTTP theory perspective, although we can certainly > appreciate how it easily maps into a CGI script implementation. Actually, even with CGI, you can have URLs that look like heirarchies. Given the above script, if you do a DELETE on http://demo.opentext.com/livelink/livelink/nodes/22278, then the script will be invoked with PATH_INFO set to "/nodes/22278" and REQUEST_METHOD set to "DELETE". Some HTTP servers block methods they don't know about, but others (e.g., Apache) just pass them right through. -- /======================================================================\ |John (Francis) Stracke | My opinions are my own. |S/MIME supported | |Software Retrophrenologist|===========================================| |Netscape Comm. Corp. |If God had meant us to be in the Army, we | |francis@netscape.com | would've been born with green, baggy skin.| \======================================================================/ New area code for work number: 650Received on Monday, 10 August 1998 20:59:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 12 October 2007 17:53:09 GMT