I have been researching alot of realtime web technologies to a point where i am just pretty confused on how everything should work together, so i wonder if anyone has any experience in this field yet ?
When you dig around google and read up on that topic you find alot of new technologies and terms like XMPP, BOSH, comet, Bayeux etc and wonder how they all fit together. So i am currently thinking about an architecture for an upcoming project and would like to hear some thoughts about that from people with experience on how the whole thing works. On the web based side will be a traditional symfony web application which shows overview of some data on a page. On the other side will be alot of Windows Mobile Client implemented in C# that need to send and recieve data in realtime, this data should be visible in the symfony application as soon as its send. As i dont want to use constant polling i looked into all the avaible realtime technologies and thought of this architecture: Using the StreamHub Comet Java Server: 1. The WM C# Clients send/receive data to/from the StreamHub java Server via JSON over HTTP. 2. The StreamHub Java Server exchanges incoming messages via JSON-RPC (or SOAP or something similar) with the symfony backend to process the incoming data 3. The StreamHub Server then triggers a message to the web client saying something like "new data for xy avaible" 4. the web client requests the new data via Ajax from the symfony backend and updates the view One could also implement this with an XMPP server and BOSH (XMPP over HTTP) to broadcast messages between clients, but all the examples i have seen never include a database so i wonder how that part is handled. I dont want to only forward Data to clients, i also need to process it in the symfony backend and save it to the database so that its persistent, so i would use the realtime component more like "hello there new data, go an fetch it via traditional ajax" to prevent long polling. I wonder if that is the route to go here, as there isnt much information avaible on the interwebs on this quite new topic. Best regards --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---