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 EF0D3D2AE for ; Wed, 6 Mar 2013 16:59:59 +0000 (UTC) Received: (qmail 3405 invoked by uid 500); 6 Mar 2013 16:59:58 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 3024 invoked by uid 500); 6 Mar 2013 16:59:58 -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 3002 invoked by uid 99); 6 Mar 2013 16:59:57 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 16:59:57 +0000 Received: from localhost (HELO mail-la0-f41.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 16:59:57 +0000 Received: by mail-la0-f41.google.com with SMTP id fo12so7694312lab.0 for ; Wed, 06 Mar 2013 08:59:55 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.105.17 with SMTP id gi17mr15671346lab.46.1362589195249; Wed, 06 Mar 2013 08:59:55 -0800 (PST) Received: by 10.112.25.201 with HTTP; Wed, 6 Mar 2013 08:59:55 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 10:59:55 -0600 Message-ID: Subject: Re: Curiosity how you use CouchDB in your web env. From: Robert Newson To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 "I think this is the most common setup." -- I'm not so sure, but I'd love to get some numbers. I'd personally *hope* that most people are serving CouchDB directly with the possible exception of a generic load balancer like HAProxy. B. On 6 March 2013 10:54, Dan Santner wrote: > I use couchdb as a restful doc persistence. I don't use CouchApp. > On Mar 6, 2013, at 10:45 AM, Mark Hahn wrote: > >> I have a node app that does all html serving and my app talks directly to >> couch via 127.0.0.1. I think this is the most common setup. >> >> >> On Wed, Mar 6, 2013 at 8:21 AM, TAE JIN KIM wrote: >> >>> There are couple of ways that CouchDB can be used in web development. >>> >>> You could deploy your html as attachment in _design in your couch db..so >>> actually couchdb could serve your html.... >>> You could create a kind of proxy middle layer so that this can communicate >>> between your presentation layer and your CouchDB due to cross-domain issue >>> of Ajax.. >>> There might be some different way as well.... >>> >>> There is no obvious right answer approach here I guess, but just out of >>> curiosity, would like to hear >>> how CouchDB is being used in your web environment.... >>> if you had all of experience as far as deployment is concerned, that would >>> be great if you could share for each pros/cons as well... >>> >>> Thanks in advance. >>> >>> >>> >>> >