Re: Using ColdFusion to Create an Activity Feed???
Thanks for the ideas. I do have a SQL table taht gets updated with activity so like you said a timer or a trigger of some sort to do the AJAX call. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348759 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Using ColdFusion to Create an Activity Feed???
Jenny - this is a Railo implementation of a web socket gateway, but it is helpful to understand the concept. http://wiki.getrailo.org/wiki/Extensions:WebSockets_Gateway -- Josh On Tue, Oct 4, 2011 at 7:00 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Interesting .. Josh, any good links on the subject you could point me to, please? TIA, Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Josh Nathanson [mailto:joshnathan...@gmail.com] Sent: 04 October 2011 17:53 To: cf-talk Subject: Re: Using ColdFusion to Create an Activity Feed??? If you want to get really jiggy with it, you can use a Gateway on the server side and connect to it using long polling or web sockets. This will push server changes to any connected clients immediately. -- Josh -- I am using the free version of SPAMfighter. We are a community of 7 million users fighting spam. SPAMfighter has removed 3885 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len The Professional version does not have this message ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Using ColdFusion to Create an Activity Feed???
I believe you can implement socket.io without using node.js, which provides cross browser asynchronous push. The next version of ColdFusion will have full web socket support, but that doesn't help you today. Some sites are relying on PusherApp.com to provide this. Billy Cravens On Wednesday, October 5, 2011, Josh Nathanson joshnathan...@gmail.com wrote: Jenny - this is a Railo implementation of a web socket gateway, but it is helpful to understand the concept. http://wiki.getrailo.org/wiki/Extensions:WebSockets_Gateway -- Josh On Tue, Oct 4, 2011 at 7:00 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Interesting .. Josh, any good links on the subject you could point me to, please? TIA, Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Josh Nathanson [mailto:joshnathan...@gmail.com] Sent: 04 October 2011 17:53 To: cf-talk Subject: Re: Using ColdFusion to Create an Activity Feed??? If you want to get really jiggy with it, you can use a Gateway on the server side and connect to it using long polling or web sockets. This will push server changes to any connected clients immediately. -- Josh -- I am using the free version of SPAMfighter. We are a community of 7 million users fighting spam. SPAMfighter has removed 3885 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len The Professional version does not have this message ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Using ColdFusion to Create an Activity Feed???
How do you use ColdFusion to create an asynchronous activity feed like you see in the upper right area of Facebook? Any examples or links would be helpful. Thanks, Allan Jagos aja...@rc.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347891 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Using ColdFusion to Create an Activity Feed???
Well, it depends a lot on the details. If you store user actions in a database, and you know the current users list of friends, then it is trivial to use SQL to get the last N activity items from your friends. Displaying it like FB simply means using Ajax to retrieve said events and display. You can create a timed event in your JS code to update this list every N seconds or so. On Tue, Oct 4, 2011 at 11:13 AM, Allan Jagos aja...@rc.com wrote: How do you use ColdFusion to create an asynchronous activity feed like you see in the upper right area of Facebook? Any examples or links would be helpful. Thanks, Allan Jagos aja...@rc.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347892 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Using ColdFusion to Create an Activity Feed???
If you want to get really jiggy with it, you can use a Gateway on the server side and connect to it using long polling or web sockets. This will push server changes to any connected clients immediately. -- Josh On Tue, Oct 4, 2011 at 9:17 AM, Raymond Camden raymondcam...@gmail.comwrote: Well, it depends a lot on the details. If you store user actions in a database, and you know the current users list of friends, then it is trivial to use SQL to get the last N activity items from your friends. Displaying it like FB simply means using Ajax to retrieve said events and display. You can create a timed event in your JS code to update this list every N seconds or so. On Tue, Oct 4, 2011 at 11:13 AM, Allan Jagos aja...@rc.com wrote: How do you use ColdFusion to create an asynchronous activity feed like you see in the upper right area of Facebook? Any examples or links would be helpful. Thanks, Allan Jagos aja...@rc.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347895 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Using ColdFusion to Create an Activity Feed???
heh... you said... ahh nevermind. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Josh Nathanson [mailto:joshnathan...@gmail.com] Sent: Tuesday, October 04, 2011 12:53 PM To: cf-talk Subject: Re: Using ColdFusion to Create an Activity Feed??? If you want to get really jiggy with it, you can use a Gateway on the server side and connect to it using long polling or web sockets. This will push server changes to any connected clients immediately. -- Josh On Tue, Oct 4, 2011 at 9:17 AM, Raymond Camden raymondcam...@gmail.comwrote: Well, it depends a lot on the details. If you store user actions in a database, and you know the current users list of friends, then it is trivial to use SQL to get the last N activity items from your friends. Displaying it like FB simply means using Ajax to retrieve said events and display. You can create a timed event in your JS code to update this list every N seconds or so. On Tue, Oct 4, 2011 at 11:13 AM, Allan Jagos aja...@rc.com wrote: How do you use ColdFusion to create an asynchronous activity feed like you see in the upper right area of Facebook? Any examples or links would be helpful. Thanks, Allan Jagos aja...@rc.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347912 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Using ColdFusion to Create an Activity Feed???
Interesting .. Josh, any good links on the subject you could point me to, please? TIA, Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Josh Nathanson [mailto:joshnathan...@gmail.com] Sent: 04 October 2011 17:53 To: cf-talk Subject: Re: Using ColdFusion to Create an Activity Feed??? If you want to get really jiggy with it, you can use a Gateway on the server side and connect to it using long polling or web sockets. This will push server changes to any connected clients immediately. -- Josh -- I am using the free version of SPAMfighter. We are a community of 7 million users fighting spam. SPAMfighter has removed 3885 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len The Professional version does not have this message ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347926 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm