Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 85596 invoked from network); 31 Dec 2008 21:45:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Dec 2008 21:45:14 -0000 Received: (qmail 41283 invoked by uid 500); 31 Dec 2008 21:45:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 41243 invoked by uid 500); 31 Dec 2008 21:45:13 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 41232 invoked by uid 99); 31 Dec 2008 21:45:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2008 13:45:13 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of theflinnster@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2008 21:45:04 +0000 Received: by an-out-0708.google.com with SMTP id b2so1660361ana.5 for ; Wed, 31 Dec 2008 13:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=YY7/UhlKLb4WsGcxC0+MTD9HneiZfPJ/Ju23iSHzi3I=; b=mzHJ1iRQew3YJkxQbpl/3kNJ+siNmvLxBEn3RX1vaopJRawSnkw7SonW4eHTbFMGtx h08AvG69wwss3KVa1u3yrj9/PMnaWkNlJ0udpOPemx2mINCaIVuxd+0t29ak0BrTG9vH QN2pX/eVivT8IoVO2JmDhb5CGlpGN1IOLUfLU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=BMG/fqnNG4/tF6n2TMfoRBvh2r8bkJx6eTaW51v1QFU3eZ+rP0I8FF4Cgmug2Bcwaz kIP7MIrwOYl4SKY5n9uHBWYyEA1AAbZ7kiKfD23OPdkOYKIIdqfnZ0cdbJNvAzD6lU4Y 78K1fid/sAhq5Wm4/54s5ZQxBKZDaV1GKIn4A= Received: by 10.100.95.15 with SMTP id s15mr9189973anb.20.1230759881872; Wed, 31 Dec 2008 13:44:41 -0800 (PST) Received: from ?192.168.1.6? (c-71-235-225-250.hsd1.ct.comcast.net [71.235.225.250]) by mx.google.com with ESMTPS id c23sm30022606ana.55.2008.12.31.13.44.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Dec 2008 13:44:40 -0800 (PST) Message-Id: <42FAAF88-D5BE-49AF-A6A3-A86E88052693@gmail.com> From: Flinn Mueller To: user@couchdb.apache.org In-Reply-To: <389078.97195.qm@web57606.mail.re1.yahoo.com> Content-Type: multipart/alternative; boundary=Apple-Mail-7--950391471 Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: ruby client Date: Wed, 31 Dec 2008 16:44:38 -0500 References: <85FD3ADD-1381-4451-9949-1AF595C90153@gmail.com> <495BB105.9080705@gmail.com> <41AB4FCD-40FB-4A86-B21E-0A289BE3A7E0@gmail.com> <389078.97195.qm@web57606.mail.re1.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7--950391471 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit What did you like about RelaxDB over the DM Adapter? Was it not as flexible? So far I really like the simplicity of CouchObject. That could change if I start doing anything more complex I guess. On Dec 31, 2008, at 2:33 PM, Bradford Winfrey wrote: > The DataMapper version is "ok" (I've hacked it a long time ago to > work with 0.8.1), I've used it before with success and it's handling > of views is really nice (just DataMapper.auto_migrate!) but I've > really come to enjoy Paul Carey's RelaxDB - http://github.com/paulcarey/relaxdb/tree/master > > Some things to try out when looking at the various libraries: > > Does it handle attachments well? > Does it handle paging (in an intelligent manner)? > How does it handle my views when creating them or when I need to > update them? > Can I easily relate a class to it? > Can I validate the contents of what I'm saving in a clear, concise > manner? > > That's my two cents... > > Brad > > > > > ________________________________ > From: Flinn Mueller > To: user@couchdb.apache.org > Sent: Wednesday, December 31, 2008 1:18:12 PM > Subject: Re: ruby client > > did you look at datamapper? I'm somewhat interested in datamapper > but I'm leery of being tied to a sql orm. > > > On Dec 31, 2008, at 12:51 PM, Paul Gross wrote: > >> >>> qq, your choice of couch ruby client (and why)? >> >> I use CouchRest (http://github.com/jchris/couchrest/tree/master) >> and have been very happy with it. It has both a low-level API: >> >> response = @db.save({:key => 'value', 'another key' => 'another >> value'}) >> doc = @db.get(response['id']) >> >> and an ActiveRecord like model class: >> >> class Course < CouchRest::Model >> key_accessor :title >> cast :questions, :as => ['Question'] >> cast :professor, :as => 'Person' >> view_by :title >> view_by :dept, :ducktype => true >> end >> >> Paul Gross >> http://www.pgrs.net >> > > --Apple-Mail-7--950391471--