Re: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-16 Thread Tarek Ziadé
Benji York wrote: > Balazs Ree wrote: > >> However there is nothing that would keep away a server to be "aware" of >> currently open pages and be able to send notifications to them. This >> would >> also require server support for registering open connections. This >> pattern >> might even turn ou

Re: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-16 Thread Benji York
Balazs Ree wrote: However there is nothing that would keep away a server to be "aware" of currently open pages and be able to send notifications to them. This would also require server support for registering open connections. This pattern might even turn out to be so useful, that we will see it

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Balazs Ree
On Mon, 15 May 2006 21:19:02 +0200, Paul Everitt wrote: > Mozilla has some support for keeping the server connection open and > pushing messages to the client: > >http://www.xulplanet.com/tutorials/mozsdk/serverpush.php > > Two asides: > > 1) Is this better for zope3-users? That's good news

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Balazs Ree
On Mon, 15 May 2006 19:02:15 +0100, Martin Aspeli wrote: > I'm pretty sure the fundamental AJAX pattern is that you send > XMLHttpRequests on some event, either a timer (so it polls) or a user > action (e.g. an on-click handler). I've never seen the pattern of a > persistent connection ... if you h

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Paul Everitt
Jeff Rush wrote: Benji York wrote: Zachery Bir wrote: I think Benji's commenting on the fact that you're creating a synchronous connection when you hold it open like that. Exactly. As Jean-Marc noted, Jeff's talking more about "streaming" than "asynchronicity" (is that a word?). Well th

Re: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Uwe Oestermeier
Jeff Rush wrote: > >Provide a chat window at the bottom of a page, in which a student >interacts >with a teaching app and members of his team. In the upper portion of the >page, the teaching app alternately presents proficency questionaires and >lessons. This seems to be very similar to our "li

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Fred Drake
On 5/15/06, Jeff Rush <[EMAIL PROTECTED]> wrote: Now that's odd, because to me having 1,000 clients repeatedly poll the server every second, and potentially tearing down/making new TCP connections is less scalable than on a modern OS keeping around 1,000 threads or twisted Well, if you're certa

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Jeff Rush
Tarek Ziadé wrote: Jeff Rush wrote: what does your code actually do ? Provide a chat window at the bottom of a page, in which a student interacts with a teaching app and members of his team. In the upper portion of the page, the teaching app alternately presents proficency questionaires and

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Jeff Rush
Fred Drake wrote: On 5/15/06, Jeff Rush <[EMAIL PROTECTED]> wrote: I got the definition from Wikipedia: http://en.wikipedia.org/wiki/AJAX Yes; we agree on this definition of AJAX, I think. :-) Sorry, I was addressing what I erroneously thought was confusion over what the 'A' meant.

Re: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Uwe Oestermeier
Hi Roger, hi Jeff, Roger wrote: > >See this for more information, but don't ask me if it's working. > >http://svn.zope.org/zope3org/trunk/src/zorg/live/README.txt?rev=66712&view=markup > It works at least for our purposes. We are using an experimental LivePage application here at our institute. "E

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Jeff Rush
do you mean HTTP streaming? http://ajaxpatterns.org/HTTP_Streaming After reading that excellent article, yes, that is what I mean. I want to use Donovan Preston's LivePage technology, which is described in a link from tha article, under Zope3. I recently noticed something that makes it tr

RE: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread dev
full. Regards Roger Ineichen _ END OF MESSAGE > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Zachery Bir > Sent: Monday, May 15, 2006 7:53 PM > To: Jeff Rush > Cc: zope3-dev@zope.org > Subject: Re:

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Martin Aspeli
On Mon, 15 May 2006 18:49:24 +0100, Jeff Rush <[EMAIL PROTECTED]> wrote: I looked at MochiKit and studied the Async package, but perhaps I didn't understand it. I only saw ways for the client to sneak HTTP REQUESTSs to the server behind the user's back, but nothing for the server to reach

Re: [Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Zachery Bir
On May 15, 2006, at 1:49 PM, Jeff Rush wrote: Benji York wrote: Zachery Bir wrote: I think Benji's commenting on the fact that you're creating a synchronous connection when you hold it open like that. Exactly. As Jean-Marc noted, Jeff's talking more about "streaming" than "asynchronicity"

[Zope3-dev] Re: Zope 3 lacks Ajax capability?

2006-05-15 Thread Jeff Rush
Benji York wrote: Zachery Bir wrote: I think Benji's commenting on the fact that you're creating a synchronous connection when you hold it open like that. Exactly. As Jean-Marc noted, Jeff's talking more about "streaming" than "asynchronicity" (is that a word?). Well the connection itsel