Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 74993 invoked from network); 1 Apr 2011 05:19:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 05:19:19 -0000 Received: (qmail 50930 invoked by uid 500); 1 Apr 2011 05:19:18 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 50911 invoked by uid 500); 1 Apr 2011 05:19:18 -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 50903 invoked by uid 99); 1 Apr 2011 05:19:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 05:19:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.210.180] (HELO mail-iy0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 05:19:12 +0000 Received: by iyf40 with SMTP id 40so4507088iyf.11 for ; Thu, 31 Mar 2011 22:18:50 -0700 (PDT) Received: by 10.43.62.72 with SMTP id wz8mr4615931icb.350.1301635128046; Thu, 31 Mar 2011 22:18:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.134.70 with HTTP; Thu, 31 Mar 2011 22:18:28 -0700 (PDT) In-Reply-To: <99E78CD5-9F37-491A-9A9A-83243D480D8D@gmail.com> References: <99E78CD5-9F37-491A-9A9A-83243D480D8D@gmail.com> From: Mark Hahn Date: Thu, 31 Mar 2011 22:18:28 -0700 Message-ID: Subject: Re: DocumentRevisions - any way to make sure they will always be available? To: user@couchdb.apache.org Cc: Luis Miguel Silva Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org jquery.couch.js is an api loaded into the browser client. It is just a simple single javascript file. So his scheme would be trivial to add to a client by just updating that file. I also happen to use jquery.couch.js on the server side with nodejs, but that is a different topic. On Thu, Mar 31, 2011 at 5:03 PM, Luis Miguel Silva wrote: > Hmm, what a smart way to do it! Thanks a lot! :o) > > I just didn't fully understood if the changes this guy made to the jquery= core are now part of the standard couchDB distribution or not? And WHAT i = exactly have to do to implement his theory (i understood the theory and lov= e it, i just didn't understand the execution part :oP). > > Thanks, > Luis Miguel Silva > > On Mar 31, 2011, at 5:27 PM, Nils Breunese wrote: > >> No, don't use MVCC _revs for versioning. Check out http://blog.couchbase= .com/simple-document-versioning-with-couchdb for a way to do simple version= ing. >> >> Nils. >> ________________________________________ >> Van: Luis Miguel Silva [luismiguelferreirasilva@gmail.com] >> Verzonden: donderdag 31 maart 2011 22:43 >> Aan: user@couchdb.apache.org >> Onderwerp: DocumentRevisions - any way to make sure they will always be = available? >> >> Dear all, >> >> I'm very interested in CouchDB's DocumentRevision features because i >> want to be able to store historical data so i can later consume it and >> see how it progressed over time. >> So my idea would be to simply add a timestamp and that timestamp >> SHOULD be enough to let me know a new revision has been registered. >> >> The thing is, according to the documentation, we cannot guarantee the >> revisions will be available once the DB is compacted: >> http://wiki.apache.org/couchdb/HTTP_Document_API >> >> But...what is the point of this then? Is there a way to always make >> revisions available? >> >> Also, is it possible to only get the fields that changed between two >> revisions?? That would be A-W-E-S-O-M-E for what i need to do :o). >> >> Thanks in advance, >> Luis >> ------------------------------------------------------------------------ >> VPRO =A0 www.vpro.nl >> ------------------------------------------------------------------------ > --=20 Mark Hahn Website Manager mark@boutiquing.com 949-229-1012