Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89804 invoked from network); 18 Sep 2010 14:11:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 14:11:51 -0000 Received: (qmail 94905 invoked by uid 500); 18 Sep 2010 14:11:50 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94734 invoked by uid 500); 18 Sep 2010 14:11:47 -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 94726 invoked by uid 99); 18 Sep 2010 14:11:46 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 14:11:46 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 14:11:25 +0000 Received: by vws14 with SMTP id 14so3704708vws.11 for ; Sat, 18 Sep 2010 07:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=aqOKkdZl7XUDGaG6mrmjYZv2PFCqQr1Ub70Jjly9llI=; b=PfoFqqO/MhMhRH9BA4buCefoc2V7i9vHCZ+wK7CdsVwpUHdXHhBz+S33+Vfz39B9Jz X87zae+eVAhhRbhW2kV5gPu/hJcCnFbvyGaaZIYncD0FompCFA4y+qXK9uK/x5eidvt/ Xf5SYVvZEJktKP3kuVj0dEAJp0gv1HvAQ4Coo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=jfVHh45lM+2RcOgoXTyet1uVhaMjwNpqBThC5e+CZwYXmzU5nB0XJkvKA/sjWE80z/ sPAQtNRKn8gG3JT1dQqt+R3tQlmTDZFe6vN44bHYiWVLwZGp+o0yQes5NUMxIAS3jf9G ruK2IPDqg977JOON0MT2Ggpy/DLBUCSfExbSg= MIME-Version: 1.0 Received: by 10.220.63.79 with SMTP id a15mr3095629vci.61.1284819064469; Sat, 18 Sep 2010 07:11:04 -0700 (PDT) Sender: jchris@gmail.com Received: by 10.220.99.134 with HTTP; Sat, 18 Sep 2010 07:11:04 -0700 (PDT) In-Reply-To: References: <78E29CEF-81EA-472C-8D8D-EAD0D3E5063D@purplebulldog.com> Date: Sat, 18 Sep 2010 07:11:04 -0700 X-Google-Sender-Auth: iB1t-Tz6ZTGi2OHq4EN-es9VF2A Message-ID: Subject: Re: SproutCore as CouchApp From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Sep 18, 2010 at 3:07 AM, Ido Ran wrote: > I plan on deploy my application on either CouchOne or CloudAnt so the fir= st > option is not available there (to my understanding). > The second one seem to be possible. I'll try it and let you know. > > What do you think in general about the idea of using SproutCore as front-= end > and CouchDB as backend? there are others who have done this before. I have a feeling if you use the SC build script, then push the product, you will have a much smaller app bundle. > It will be hard to recreate all controls in evently, does it? yes that would be like squeezing oranges in an attempt to build a movie theater... evently is just a shortcut for writing jquery code, and a convenient way to package widgets as reusable objects. Chris > > Ido > > On Sat, Sep 18, 2010 at 7:03 AM, Dave Cottlehuber wrot= e: > >> On 18 September 2010 04:50, Ido Ran wrote: >> > Hi, >> > I have some new things I've found. >> > 1. SproutCore build is very large. 62MB large. The reason is that as p= art >> of >> > the build they provide the SproutCore libraries, and every part of the >> > library (like core_tools, datastore, datejs) have file >> > name javascript-packed.js which is 2.2MB (for every language). That wh= at >> > make the couchapp push take so long. When I work on my local machine i= t >> > still take long, but not that long. I guess I may have did something >> wrong >> > during the build but I'm not sure. >> > >> > 2. After I manage to push the application into CouchDB I'm sorry to sa= y >> that >> > the application didn't work due to failure of loading JavaScript files= . >> > >> > :5984/static/sproutcore/testing/en/current/javascript.js?1284229073< >> http://localhost:5984/static/sproutcore/testing/en/current/javascript.js= ?1284229073 >> >Failed >> > to load resource: the server responded with a status of 404 (Object No= t >> > Found) >> > =A0The url I use to load the application is * >> > >> http://localhost:5984/raccon/_design/raccon/static/hello_world/en/curren= t/index.html >> > * >> > >> > **As you can see it try to load the libraries directly from the root o= f >> the >> > server, not the design document location. >> > >> > If some can help in any one of those issues it will be great. >> > >> > Thank you, >> > Ido >> >> Hi Ido >> >> Sorry small children helping with keyboard here.. only half the email. >> Would using the rewrite handler help? >> >> http://wiki.apache.org/couchdb/Rewriting_urls >> or possibly >> http://wiki.apache.org/couchdb/How_to_change_the_front_page >> >> cheers >> Dave >> > --=20 Chris Anderson http://jchrisa.net http://couch.io