FYI couch potato is built on top of couchrest and it also has  
validation and model abstraction ;)

- Matt

Sent from my iPhone

On Jul 31, 2009, at 10:09, Christian Hoeppner  
<[email protected]> wrote:

> I have considered using Couch instead of Mongo, and it's use is in  
> the trials right now. I'm not using couchrest, but Couch Potato  
> instead, which gives me about the level of abstraction I like. Some  
> things like type casting for non-string values, and validation  
> helpers, are just sweet and avoid a decent amount of headaches.
>
> The only thing I can't seem to figure out (I bet it's dead simple,  
> and I just can't see it), is the deal about Associations. Most of my  
> data fits into the document model, but I'd still need 1-2 relations  
> to link object owners and avoid data duplication. Alex Lang seems to  
> have a clear attitude about this, and the documentation states that  
> relations ought to be easily implemented by custom model methods or  
> views. I'd appreciate an example on this, both approaches.
>
> What I like about potato is the document-database decoupling. A  
> model represents a document and it's logic, and you then pass it to  
> the database to save, etc. It is for sure a mode couch-ish approach  
> to persistence, and I need to look more into it. Eventually, I might  
> find that my need for entity relations is just bad design.
>
> 2009/7/30 Ian Sheridan <[email protected]>
>
> in my sig
>
> \/ \/ \/   ;)
> ----------------------
> Ian Sheridan
> http://iansheridan.dyndns.org
> ----------------------
>
>
>
> On Thu, Jul 30, 2009 at 4:51 PM, Matt Aimonetti<[email protected] 
> > wrote:
> > Cool, what site is that? I'd love to know who's using couchrest in
> > production.
> >
> > Thanks,
> >
> > - Matt
> >
> > On Thu, Jul 30, 2009 at 1:36 PM, Ian Sheridan <[email protected] 
> >
> > wrote:
> >>
> >> Oh man Matt I love CouchRest thanks for picking that up.
> >>
> >> It's what I use for my site.
> >>
> >> - Ian
> >>
> >> ----------------------
> >> Ian Sheridan
> >> http://iansheridan.dyndns.org
> >> ----------------------
> >>
> >>
> >>
> >> On Thu, Jul 30, 2009 at 3:04 PM, Matt Aimonetti<[email protected] 
> >
> >> wrote:
> >> > For one of my projects, we use Merb + CouchDB on a distributed  
> app using
> >> > CouchRest. Everything works great, and if it doesn't for you,  
> let me
> >> > know
> >> > I'll get things fixed :)
> >> >
> >> > - Matt
> >> >
> >> > On Thu, Jul 30, 2009 at 11:39 AM, Paul Dlug  
> <[email protected]> wrote:
> >> >>
> >> >> On Thu, Jul 30, 2009 at 2:29 PM, Christian "Webstar"
> >> >> Hoeppner<[email protected]> wrote:
> >> >> >
> >> >> > If I recall correctly, there was a point where merb, through
> >> >> > datamapper,
> >> >> > had built in support for CouchDB, but this was dropped. Am I  
> right?
> >> >> > Any
> >> >> > thought or comments?
> >> >>
> >> >> There was dm-couchdb-adapter but it was removed from dm-more, I
> >> >> believe someone has taken over ownership. I'm not sure how the  
> CouchDB
> >> >> reference got into this thread though, CouchDB is not the same  
> as
> >> >> MongoDB at all.
> >> >>
> >> >>
> >> >> --Paul
> >> >>
> >> >>
> >> >
> >> >
> >> > >
> >> >
> >>
> >>
> >
> >
> > >
> >
>
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to