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 <[email protected]>wrote:

>
> 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 <[email protected]> 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
> > [email protected]
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Reply via email to