[kupu-dev] WebDAV with Kupu
Johnny deBris
johnny at debris.demon.nl
Tue Oct 10 08:22:10 CEST 2006
Mark Fletcher wrote:
>
> I see HTTP PUT mentioned in the doc, but no mention of WebDAV. Is it
> supported? Are there any good examples available?
>
Basically no. Kupu uses PUT, but that's it (and PUT is actually part of
the HTTP protocol, not DAV specific).
> I'm sure this has been discussed before, so I'm wondering if someone
> can point me to the approximate month/year so I can check the Archives.
I guess not even that... ;) WebDAV is interesting, but only for more
obscure editor features (imo at least), I mean, it's not often that you
want to support creating or moving files or directories or something.
Of course, things like versioning (Delta-V) and perhaps editing of
metadata can definitely be interesting, but especially Delta-V is not
easy to implement...
However, if you want to give it a go, I happen to have written a
high-level WebDAV library in JavaScript that you could use (don't think
there are a lot of other choices actually)... I never released it (just
didn't have time) but I think it's near complete, it has support for all
DAV methods (from PUT to LOCK and PROPSET and such) and there's a
low-level, normal DAV layer, and a more high-level FS-like one.
If you're interested, give it a try:
http://johnnydebris.net/svn/projects/davclient.js/
Do mind that it depends on the 'Dommer' DOM library (for full namespace
support in IE) that can be found here:
http://johnnydebris.net/javascript/
Using this lib you could easily extend Kupu to get DAV features such as
file locking, property editing, etc.
If you like it, let me know and I'll release the lib (GPL I think)...
Cheers,
Guido
More information about the kupu-dev
mailing list