couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Ogden <...@maxogden.com>
Subject Re: global rewriter
Date Fri, 08 Jul 2011 18:03:37 GMT
Hi Jonathan,

In case you are looking for some example code, here is an example repository
containing a couchapp (app.js) that references 2 other couchapps (the other
two .js files) via the rewrites defined in app.js.

On Fri, Jul 8, 2011 at 10:01 AM, Jonathan Geddes
<geddes.jonathan@gmail.com>wrote:

> Doing a bit more research I found a thread from last year[0] which
> discusses
> per database/design doc exceptions. Did that feature end up in the code?
>
> By the way, is there a good place to find documentation of all these config
> values? For the restful api I use the excellent couchbase docs[1] all the
> time, but haven't come across its equal for the config values.
>
> [0]:
>
> http://couchdb-development.1959287.n2.nabble.com/feature-proposal-make-a-secure-rewrites-filter-td5523803.html
> [1]:
>
> http://www.couchbase.org/sites/default/files/uploads/all/documentation/couchbase-api.html
>
> --Jonathan
>
> On Fri, Jul 8, 2011 at 10:45 AM, Benoit Chesneau <bchesneau@gmail.com
> >wrote:
>
> > On Fri, Jul 8, 2011 at 6:33 PM, Jonathan Geddes
> > <geddes.jonathan@gmail.com> wrote:
> > > Thanks for the reply,
> > >
> > > And secure_rewrites=false doesn't circumvent any of the other security
> > > mechanisms in couch, specifically user access to a database?
> > >
> >
> > security here means that rewriting is sandboxed to one db. setting it
> > to false let others app to do the same.
> >
> > > Also, (more of a couchapp philosophy question here) if I'm starting to
> > use a
> > > second database, am I still writing a couchapp? Sure I'm using the
> > couchapp
> > > tool, but doesn't this go against the philosophy of couchapps? Will I
> > > encounter scalability problems trying to force a complicated webapp
> into
> > the
> > > couchapp model?
> >
> > Depends who answer to that ;) For me a couchapp is related to one
> > dataset or db. But maybe there could be some meta couchapps. Futon
> > could be one.
> >
> > - benoit
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message