Re: Re: Announcing Xaja, a PHP Reverse Ajax framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/13/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
I haven't looked at the code for Xaja and in no way do I want to
subtract from its potential, but I'm going to guess that in some way it
holds the HTTP connection open and as such is an expensive feature.
Also, I'm not entirely sure, but isn't that the principle that Comet
uses?

As i said ive only imagined such a feature.  In my imagination i wonder if
it is possible to
track the clients address in a data structure within the application.  Then
a connection could be
established whenever a push was needed.  I also think the app would have to
track the last page
a user requested in order to realize such an implementation.  This *should*
be feasible using
sessions because whenever the client makes a new request the last page
variable could be updated.
I havent seen nor heard of Comet; would you mind providing a link?

-nathan

On 7/13/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:

On Fri, 2007-07-13 at 14:28 -0400, Nathan Nobbe wrote:
> I have imagined being able to connect to a client browser and push
changes
> to the client rather than have something sit on the client side and
> periodically wait for updates.
> or only update when the client refreshes the page manually.  both of
those
> antiquated options are ugly.  the push technique discussed in this email
is
> essentially leveraging
> the Observer design pattern.  As i said i imagined it could be achieved
via
> ajax, but wasnt sure on the implementation.
> im curious now to see it in action and pour through the Xaja code for
the
> answer to the riddle!
> btw.
> i found myelf thinking of the pronouciation as ZahJah.

I haven't looked at the code for Xaja and in no way do I want to
subtract from its potential, but I'm going to guess that in some way it
holds the HTTP connection open and as such is an expensive feature.
Also, I'm not entirely sure, but isn't that the principle that Comet
uses?

Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux