incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: iPhone Safari and CouchDB Website
Date Wed, 15 Sep 2010 22:52:30 GMT
On Wed, Sep 15, 2010 at 1:59 PM, Ido Ran <ido.ran@gmail.com> 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 <jchris@apache.org> wrote:
>
>> On Wed, Sep 15, 2010 at 7:12 AM, Ido Ran <ido.ran@gmail.com> 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 <ido.ran@gmail.com> 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

Mime
View raw message