I did some reading around comet for a potential client a few weeks ago. The trick appears to be to use one app for the chat pages - and to use another optimised app for the persistence. The chat pages render the rich environment, setup the JS, etc - and the optimised app handles just the chat streaming. Additionally this allows you to use the optimised app with a variety of clients.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Calvin Sent: 06 May 2009 00:14 To: [email protected] Subject: [symfony-users] Re: Symfony with Comet HI Daniel, Can you tell me about this in detail? I'm new to Symfony and as far as I know any outputs will be stored on the buffer (sfResponse::$content) then get flushed at the end. To use Comet, it needs to print something and sleep for n seconds then print something again (hanging) On 5/05/2009, at 8:30 PM, Daniel González wrote: > > 2009/5/5 Calvin Jeong <[email protected]>: >> >> Hi all, >> >> Has anybody used Comet technology [1] with Symfony? It needs to run a >> loop with sleep and flush the contents regularly. >> > > Iḿ not used Comet with Sf, but .... > Where is the problem? I think that Sf can implement perfectly the > pattern comet > > > Daniel González Cerviño > tel 653965048 > [email protected] > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
