Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 47EFD17BB1 for ; Thu, 1 Oct 2015 15:33:17 +0000 (UTC) Received: (qmail 48832 invoked by uid 500); 1 Oct 2015 15:33:16 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48755 invoked by uid 500); 1 Oct 2015 15:33:16 -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 48743 invoked by uid 99); 1 Oct 2015 15:33:15 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2015 15:33:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 68E511A373C for ; Thu, 1 Oct 2015 15:33:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7q8ANHaAkcYz for ; Thu, 1 Oct 2015 15:33:02 +0000 (UTC) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 14ABD42B2F for ; Thu, 1 Oct 2015 15:33:02 +0000 (UTC) Received: by qkas79 with SMTP id s79so30595099qka.0 for ; Thu, 01 Oct 2015 08:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=UcER+Z7ZE31dPEl8eQSs0+Z88GEunjx5i0xSAUfgxtA=; b=VhXVOvlYKFGJV2w/woKDIS37O3LXl/hK/LCqiFLtVyCCevzFEEFyhhM8l+HUkLME/K zOxg2aL7YEsyF1TTR3P520AH5npS9k7aT7sm4yH+vk9Yva9jf6m+n5Pxkn2VdgEByjNw JOQGS98gJ6Wdxin7yruDeedc83sVhnu1iN+2ucZPb3mtP4/+7ezMkh6wRxwhC8TPAoMG qDli/O7o7oYGYxRl+xqCjvL11TYDhhPjhqFlIG8pc6CWvLuSNUqBxt+TuSqJnYCeE2Gl ZsUvl5bbAwgWOIN1coplC7m/zcqtbRneoeTryxNnPej/1TQEAwJsi/KGIonrsCeiMvkm x2Rw== X-Received: by 10.55.201.8 with SMTP id q8mr13362448qki.60.1443713581521; Thu, 01 Oct 2015 08:33:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.33.134 with HTTP; Thu, 1 Oct 2015 08:32:22 -0700 (PDT) In-Reply-To: <0D8EFEF0-4701-45CA-9A03-D5659BBD449E@me.com> References: <0D8EFEF0-4701-45CA-9A03-D5659BBD449E@me.com> From: Joel Wallis Date: Thu, 1 Oct 2015 12:32:22 -0300 Message-ID: Subject: Re: pouchdb-find and couchdb 2.0 To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001a1149af322f200005210cc3dd --001a1149af322f200005210cc3dd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You are actually describing Cloudant as the service you are pretending to develop. Do you have any planned diferential for this? (Just asking, as product manager, to help you plan your product.) And, PouchDB can be used as an interface for a completely remote CouchDB database. Is that what you mean with "couch & pouch transparent"? If not, what are the key diferentials for your implementation? (Just asking, as a software developer, to help you plan your implementation.) 2015-10-01 10:34 GMT-03:00 Ying Bian : > Dear couchdb developers and users, > > I=E2=80=99m new to couchdb & pouchdb and I=E2=80=99m looking forward to s= ome comments to > the following problem: > > I want to setup a couchdb service in the cloud and provide an SDK to my > users for them to use in their apps. They can also use pouchdb as a local > replication of their data. An important part of the SDK is the query > interface. I want it to be developer-friendly as much as possible. The > map/reduce API is too complex for developers with no similar experience. > After some investigation, I think maybe [pouchdb-find]( > https://github.com/nolanlawson/pouchdb-find < > https://github.com/nolanlawson/pouchdb-find>) is worth to try. Its > mongodb like query language is more intuitive in my mind. > > My questions are: > > 1. Pouchdb-find is still in beta and its documents says "This API is > modeled after the Cloudant query API < > https://docs.cloudant.com/api/cloudant-query.html>, soon to be merged > into CouchDB 2.0.=E2=80=9D Is the support already merged into couchdb 2.= 0? What=E2=80=99s > the delivery plan for couchdb 2.0? Is it to safe to switch to 2.0 now? > > 2. I want the query interface to be =E2=80=9Ccouch & pouch=E2=80=9D trans= parent: the same > query API would be used for both local pouchdb and remote couchdb. I > suppose this is not a problem. Am I right? > > Any comments would be much appreciated. > > -Ying --=20 Joel Wallis Juc=C3=A1 joelwallis.com --001a1149af322f200005210cc3dd--