|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
ColdFusion real time data updates possible?
Wondering if anyone has a good suggestion how I might be able to achieve the following without using flash if possible.Akos Fortagh 06/03/12 04:57 P If you are on CF10 (in which case, I'd be jealous), then look into the newBobby 06/03/12 07:17 P As Bobby mentioned, CF10 provides websockets (you can fid my blogRaymond Camden 06/03/12 07:59 P On 6/4/2012 6:59 AM, Raymond Camden wrote:Paul Hastings 06/03/12 09:33 P That's how CF10 falls back as well. :)Raymond Camden 06/03/12 11:43 P thank you for all your suggestions.Akos Fortagh 06/05/12 03:41 A Wondering if anyone has a good suggestion how I might be able to achieve the following without using flash if possible. I have a simple interface where logged in users fill out 10 multiple choice questions and at the end they get a score like 5 out of 10 etc. The odd thing is that they must be able to see other users' scores real time so it all becomes like a live competition. Is there a way of 'pushing' the other users' scores somehow to the logged in user's screen as soon as the 'other' users score some points? Hopefully this all makes sense... Or am I thinking the impossible? Any help or suggestions would be much appreciated. Akos If you are on CF10 (in which case, I'd be jealous), then look into the new WebSockets. If not, then I believe you will be stuck polling for changes on regular intervals to get the submissions of others. Here is an example of websockets in CF10. http://www.bennadel.com/blog/2351-ColdFusion-10-Using-WebSockets-To-Push-A- Message-To-A-Target-User.htm On 6/3/12 4:57 PM, "Akos Fortagh" <akos.fortagh@yahoo.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- As Bobby mentioned, CF10 provides websockets (you can fid my blog posts on it here: http://www.raymondcamden.com/search.cfm?search=websockets). If you aren't on CF10, there are other options too. You can use Node.js and socket.io (http://socket.io/) just for websockets while still using CF. ----- Excess quoted text cut - see Original Post for more ----- On 6/4/2012 6:59 AM, Raymond Camden wrote: > > As Bobby mentioned, CF10 provides websockets (you can fid my blog > posts on it here: > http://www.raymondcamden.com/search.cfm?search=websockets). If you > aren't on CF10, there are other options too. You can use Node.js and > socket.io (http://socket.io/) just for websockets while still using or you could just use cf: http://bit.ly/KJ0OTt and of course only if all your users are on browsers that are websocket capable, otherwise they fallback on, wait-for-it...flash. That's how CF10 falls back as well. :) ----- Excess quoted text cut - see Original Post for more ----- thank you for all your suggestions. much appreciated
|
May 18, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||