RE: HREF Property in Thai Restaurant

Jim Davis wrote:
> Adding a new review is done by first PUTting a new resource, 
> then setting some properties on it with PROPPATCH.  You can
> get all the data by doing a PROPFIND, and you search by doing
> a SEARCH.  
> 
> On such a server, you certainly want access control (so that 
> only the one who creates the review can change it) and you also
> want locking (so that if two different people both want to add
> a new review at the same time, they see a consistent world)

OK - but where are the locks for these reviews? Don't the locks on the
'good-eating.com' server refer to the URI in the review - that is, the
restaurant web site? And you can't lock that because it is not in your
control.

Although you said my scenario was 'unnecessarily complicated', it's the
only solution I can see - that is, to introduce another WebDAV server
(or a new container within the review server) that contained references
to the reviews on the good-eating.com server you just described. *Then*
you can have locking on the reviews, and then you can search for
"reviews that are currently locked by Jim", or were "created yesterday".
If you query for "created yesterday" on good-eating.com, don't you get
back restaurant web sites that were created yesterday, not reviews that
were written yesterday?

Regards,

Mark

Received on Sunday, 21 November 1999 12:18:57 UTC