On 11/15/06, Steve Loughran <[EMAIL PROTECTED]> wrote:

If you want a repository with write access,

0. Stick with URLs. You get caching from proxies, easy browsing and the
ability to fetch from anything with <get>
1. use WebDAV.
2. use a PUT operation to put something new up
3. use GET to retrieve
4. use DELETE to delete
5. use HEAD to poll for changes, or GET with etag header
6. provide an atom feed of changes that a client can poll to invalidate
the local cache.


This is a very clean approach, I would only add something for searching (I'm
not familiar with GET with etag header, but it should fit the search need
too).

BTW, do you guys have heard of archiva http://maven.apache.org/archiva/ ?
There are a lot of good ideas there, even if it's just too maven focused to
be really useful for us directly.

Another point, FYI, we have developed at jayasoft a very simple
Servlet/DependencyResolver pair, to avoid using apache directory listing
(which is very slow) to find the last version of a module, but instead ask
the servlet (with a simple GET) which one it is. It's a very basic
implementation of part of what you're suggesting, and I think I could easily
share its code with you if some are interested (but it was the very servlet
development done by the person who did it, two years ago, so the code is not
very clean, but it works and can be a basis for this kind of development.

Xavier

-Steve


Reply via email to