I'm trying to create a page which streams a list of entries from a
database table, such that when a new row is injected into the table
the contents of that row are automatically shown on the page without a
page refresh.

I'm guessing I need to have some ajax call in a script on the template
page which calls a controller action every x seconds, and this
controller action returns the updated list of contents from the
database table (probably cached in the controller), which are then
appended to the html of the page? Or is there some better way? In
either case, I'm having trouble figuring out how to do this. It seems
like the kind of thing developers would want to do pretty often. If
someone can point me in the right direction I'd greatly appreciate it.

- Brandon

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to