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

PUT and directory creation

From: Henry Story <henry.story@bblfish.net>
Date: Wed, 4 Apr 2012 18:58:43 +0200
Message-Id: <0C188560-BF46-41C2-B3CD-6191C548E1E2@bblfish.net>
Cc: Alexandre Bertalis <bertails@w3.org>
To: Read-Write-Web <public-rww@w3.org>
Hi,

just looking for feedback here. Alexandre Bertails wrote the read-write-web project [1],
which allows one to to GET, PUT, and POSTs of SPARQL updates. It's a good starting point 
to try out some ideas for those who like Scala.

At one point Alexandre had it so that a PUT of a new resource such as 

PUT /existing/newDir/other/file.ttl

would create 

    /existing/newDir
    /existing/newDir/other
and /existing/newDir/other/file.ttl

Then later he changed it so that one had to create resource one by one

with 

 PUT /existing/newDir/
 PUT /existing/newDir/other/
 PUT /existing/newDir/other/file.ttl

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

Henry

[1] https://dvcs.w3.org/hg/read-write-web/


Social Web Architect
http://bblfish.net/
Received on Wednesday, 4 April 2012 16:59:15 UTC

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