couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: REST, Hypermedia, and CouchApps
Date Mon, 09 Mar 2009 17:01:10 GMT
On 05.03.2009, at 23:43, Damien Katz wrote:
> On Mar 5, 2009, at 5:34 PM, Jan Lehnardt wrote:
>> On 5 Mar 2009, at 21:38, Christopher Lenz wrote:
>>> Actually, I'd go even further, and suggest that the "show" and  
>>> "list" features should be part of that CouchApp plugin, and not  
>>> actually included with CouchDB itself. You really only need those  
>>> features when you're developing CouchApp-style applications.  
>>> Moving them into a corresponding plugin would help keep CouchDB  
>>> itself lean and clean.
>>
>> show and list are useful in the non-couchapp case. a list gives you  
>> RSS/Atom feeds on views (say blog posts or events) for free. a show  
>> would help you to mangle your data for other systems that e.g. like  
>> to consume XML. I like that this can be done without a middleware  
>> layer.
>
> Not only that, it's pretty much mandatory if we want to be  
> completely RESTful, that is too allow apps to be spiderable and docs  
> to be bookmarkable and viewable to non-js browsers.

But how is that relevant to applications that do *not* follow the  
CouchApp model, but rather have a traditional web/app-server sitting  
in front of CouchDB?

Cheers,
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


Mime
View raw message