I had a similar requirement with an online booking system i built. I
wanted the clients admin panel to show bookings as they came in from
the front end web site..
I looked at a few different options, but in the end having a 3-5
minute max delay for bookings to show up was not unacceptable so the
PeriodicUpdater worked for me.
quick search on google for "server push ajax" brought up a couple
good articles
http://www.subbu.org/weblogs/main/2006/04/dissecting_ajax_1.html
http://www.bluishcoder.co.nz/2005/11/more-on-ajax-and-server-push.html
______________________________________________________________________
Alex Duffield ❖ Principal ❖ InControl Solutions . http://
www.incontrolsolutions.com
On 26-Sep-07, at 8:44 AM, JinMaster wrote:
>
> Hi I''m fairly new to Prototype and would like to know if there is
a
> way to implement the client so that the server can initiate an
> update.
>
> I contemplated about using Ajax.PeriodicUpdater but decided against it
> due to the network load it imposes on my server. Instead I would like
> to see the server tell the client to update a particular element. Is
> there something in Prototype that can help me achieve this task?
>
> Thanks for the help in advanced
> JinMaster
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---