There's two ways to design a chat app: polling or pushing (comet). Polling's generally simpler (just set a timer in javascript & reload), but comet gives you real-time.
Michael Carter posted about using Orbited, a comet library, with CherryPy 3 a while back [1]. A quick glance makes me believe it should with TG's CP 2 just as well. Also, Kevin Dangoor's planning to talk about comet in TG2 at PyCon, if you can wait & are feeling adventurous [2]. Let us know if you get something working! -Ken [1] http://groups.google.com/group/turbogears/browse_thread/thread/79a612bdd199156e/ [2] http://www.blueskyonmars.com/2007/12/11/rich-ui-webapps-with-turbogears-2-and-dojo/ On Jan 7, 2008 4:26 AM, Christopher Arndt <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] schrieb: > > The 20 Minute Wiki is wonderful. I'm trying to find more simple > > TurboGeras apps with different simple uses of AJAX/MochiKit. > > > > Anyone know of any good sites? > > http://docs.turbogears.org/1.0/SitesUsingTurboGears > http://docs.turbogears.org/TurboGearsApplications > > > I'm specifically looking for something like a webchat app that sends > > and receives data from the server with basic MochiKit/JSON commands. > > That seems like it's not a very simple example. There are several timing > and concurrency issues involved. I'm not saying it couldn't be done but > I don't think it's simple. > > Chris > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

