Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 97258 invoked from network); 16 Sep 2010 03:39:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Sep 2010 03:39:39 -0000 Received: (qmail 20734 invoked by uid 500); 16 Sep 2010 03:39:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 20378 invoked by uid 500); 16 Sep 2010 03:39:33 -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 20370 invoked by uid 99); 16 Sep 2010 03:39:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 03:39:32 +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 (athena.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; Thu, 16 Sep 2010 03:39:28 +0000 Received: by vws14 with SMTP id 14so1088365vws.11 for ; Wed, 15 Sep 2010 20:39:07 -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; bh=ekCtS99zSX8OvslfLqKtYxEb6HDS16ZIQwNUFnc4uLY=; b=qQ4apjF4c5c/Kok8vKpa/CqDZyr+7skMsH/KwLcedMP7kesKzLea4+lnUJuKF04YNh 6dKM6Jom0gXvNMSjepAh8G8XSE2XtAcXCdxbkFlB+hzO60ocQn4Yurg/OMwpzS1ZLbuh aZTG5IhO3ndYZMi1BidfuGad+NqGSwXb35w0M= 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; b=eNk9b0SUFZOsrMSbgq1GHW0O8Cyb/O+YqfhZzr+QxIaXtmfYGtHxbttI7vG+T60ITd ApCNkHX3NGLbNAVnEKDoALbOsfmJgl9T3ms0/Bh8tvHFdFb2bex+jcIaAsW0EjBA3s9j AK/IiSK48Ws4Ihy6RtKoBnzYzv8GWpOERxspA= MIME-Version: 1.0 Received: by 10.220.93.17 with SMTP id t17mr1534167vcm.266.1284608347652; Wed, 15 Sep 2010 20:39:07 -0700 (PDT) Sender: jchris@gmail.com Received: by 10.220.99.134 with HTTP; Wed, 15 Sep 2010 20:39:07 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 Sep 2010 20:39:07 -0700 X-Google-Sender-Auth: OaNw7praRYk0SiKldf2c0dHsIsg Message-ID: Subject: Re: iPhone Safari and CouchDB Website From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Wed, Sep 15, 2010 at 5:25 PM, Tyler Gillies wrote: > The only real way to get around the continual load in using a "patch" My > implementation is to first request a 404 page and then request a real page. > I like chris's [ how do you punctuate that?] way of doing it better. > i think the long term solution will be websockets > On Wed, Sep 15, 2010 at 3:56 PM, Ido Ran wrote: > >> How is that other sites the user ajax and longpoll does not keep the page >> loading forever? >> the setTimeout look like a patch, working one, but still a patch. >> >> Ido >> >> On Thu, Sep 16, 2010 at 12:52 AM, Chris Anderson >> wrote: >> >> > On Wed, Sep 15, 2010 at 1:59 PM, Ido Ran wrote: >> > > Hi, >> > > I have to say that Focus really works much better. >> > > Both in desktop browser and in the iPhone the site now loaded and >> update >> > in >> > > the background. >> > > If you can explain what you did different in little more detail it will >> > be >> > > great. >> > > >> > >> > There is a lot different, the big change is here, I think: >> > >> > http://github.com/couchone/Focus/blob/master/_attachments/index.html#L30 >> > >> > > Thank you, >> > > Ido >> > > >> > > On Wed, Sep 15, 2010 at 9:06 PM, Chris Anderson >> > wrote: >> > > >> > >> On Wed, Sep 15, 2010 at 7:12 AM, Ido Ran wrote: >> > >> > I'm not an expert, but I think it is longpoll. >> > >> > I can see the parameter in the querystring when I run the same >> > >> application >> > >> > on CouchDBX.app on my local machine. >> > >> > >> > >> > It is the taskr application from github. >> > >> > >> > >> >> > >> I tried to fix this in Focus, by wrapping the entire thing in a >> > setTimeout >> > >> >> > >> try: http://github.com/couchone/Focus and see if it is any better. >> > >> >> > >> Chris >> > >> >> > >> > Ido >> > >> > >> > >> > On Wed, Sep 15, 2010 at 4:08 PM, Benoit Chesneau < >> bchesneau@gmail.com >> > >> >wrote: >> > >> > >> > >> >> On Wed, Sep 15, 2010 at 4:06 PM, Ido Ran >> wrote: >> > >> >> > Hi, >> > >> >> > I've try to view my CouchApp using my iPhone and found something >> > not >> > >> so >> > >> >> > good: Because CouchApp use _changes feature of CouchDB by long >> > polling >> > >> on >> > >> >> > the server the address bar of the iPhone Safari never goes away. >> > >> >> > Most users will not understand why it is and frankly it pretty >> > >> annoying. >> > >> >> > If also happen on any desktop browser but there it is somewhat >> less >> > >> >> obvious. >> > >> >> > >> > >> >> > Can someone think of a clever solution? >> > >> >> > >> > >> >> > Thank you, >> > >> >> > Ido >> > >> >> > >> > >> >> >> > >> >> longpoll or continuous ? >> > >> >> >> > >> > >> > >> >> > >> >> > >> >> > >> -- >> > >> Chris Anderson >> > >> http://jchrisa.net >> > >> http://couch.io >> > >> >> > > >> > >> > >> > >> > -- >> > Chris Anderson >> > http://jchrisa.net >> > http://couch.io >> > >> > > > > -- > http://www.readwriteweb.com/about#tyler > > Ask me anything ! > -- Chris Anderson http://jchrisa.net http://couch.io