incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenny Stone <kst...@connamara.com>
Subject Re: connect Ruby on Rails app to Couchdb, using library or just plain http connection ?
Date Sun, 22 Aug 2010 13:35:06 GMT
It could be helpful when you are first learning Couch to approach it this
way.  CouchDB really is very easy to use because its API is RESTful and
pretty intuitive.

JSON.parse isn't very much code getting in your way.  You could use
'rest_client'
as a middle ground.

--
Kenny Stone
Connamara Systems, LLC


On Sun, Aug 22, 2010 at 6:48 AM, Jonathan Weiss <jw@innerewut.de> wrote:

> > so i need any advise from you guys, which path i need to choose, using
> > plain http connection or using a library ?, to connect Rails App to
> > Couch Db
>
> I would go for a library as you don't want to have to use Net::HTTP
> and JSON parsing everywhere. Usually you want a library to abstract
> this away.
> There are several libraries out there for Ruby. Some are very
> low-level like couchrest, some are very high-level like SimplyStored.
>
> Jonathan
>
> --
> Jonathan Weiss
> http://blog.innerewut.de
> http://twitter.com/jweiss
>

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