PUT and directory creation

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