On Mon, Nov 23, 2009 at 9:42 AM, Sebastien PASTOR <[email protected]> wrote: > Thanks guys, > > Have been reading a little about CouchApp. Looks neat and great to > embed whole app in couchdb > But sorry i must be missing something because i can t see how couchapp can > be used to do > a webservice call to google web service for instance ? >
That is one of the missing pieces. It's not a technical challenge, so much as a security challenge. If replicated apps can make http requests out of the box we're just enabling spammers. If you can cut this gordian knot, please share your technique. > Thanks & regards > > Sebastien > > On Mon, Nov 23, 2009 at 04:56:41PM +0100, Benoit Chesneau wrote: >> On Mon, Nov 23, 2009 at 4:18 PM, Andrew Melo <[email protected]> wrote: >> > Sebastien, >> > >> > On Mon, Nov 23, 2009 at 10:11 AM, Sebastien PASTOR >> > <[email protected]> wrote: >> >> Hello, >> >> >> >> I am trying to figure out how to best implement CouchDB ?(using a web >> >> framework like pylons or directly). >> >> I like the idea of being able to use only CouchDB and javascript but i >> >> am wondering wheter i would be limited in some ways at some point. >> >> For instance, i would need to call a web service server side before >> >> running and returning the result of a view. >> >> Would i need to write some kind of externals that would run the Web >> >> service call then call ia view locally and return the result to client ? >> >> Should if use and _update ?call? How would i call a view then ? >> >> Would it be another solution i am missing or would you advice for such >> >> cases to run a frontend like pylons that would do the work ?? >> >> >> > >> > Have you taken a look at CouchApp >> > (http://wiki.github.com/jchris/couchapp/manual). It might solve your >> > problem. >> > >> > Best Regards, >> > Andrew Melo >> > >> > >> >> Thanks for your advice , >> >> >> >> Regards >> >> >> >> Sebastien PASTOR >> >> >> a more updated link is here : >> >> http://benoitc.github.com/couchapp/index.html >> >> also the wiki : >> >> http://wiki.github.com/couchapp/couchapp >> >> best, >> >> - benoit > -- Chris Anderson http://jchrisa.net http://couch.io
