W3C home > Mailing lists > Public > public-rww@w3.org > April 2012

Re: PUT and directory creation

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 25 Apr 2012 11:42:05 +0100
To: Henry Story <henry.story@bblfish.net>
Cc: Read-Write-Web <public-rww@w3.org>, Alexandre Bertalis <bertails@w3.org>
Message-ID: <20120425114205.51005b5f@miranda.g5n.co.uk>
On Wed, 4 Apr 2012 18:58:43 +0200
Henry Story <henry.story@bblfish.net> wrote:

> Is there a good reason to move to that way of doing things? How do
> others here do this?

In WWW::DataWiki, collections are second-class citizens. A collection
cannot exist unless it contains items.

Putting a collection/directory will fail. (Perhaps it should be
allowed but treated as a no-op?) Putting an item into a directory which
does not exist yet will create that directory (however many levels of
nesting are needed).

Toby A Inkster
Received on Wednesday, 25 April 2012 10:40:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:10:25 UTC