librelist archives

« back to archive

Event driven blueprint

Event driven blueprint

From:
Giovanni Giorgi
Date:
2011-07-01 @ 20:26
Hi all,
 I have the lucky of learning a web framework written in erlang  called nitrogen.
One of the cool feature of nitrogen is the ability to define "callback function".
For instance, is it possible to render a div with id "clock" and attach to
it a callback to be called every second to update a part of the page.
Callback can be used also to subit form in nitrogen, in ajax-style.
I think it will be possible  to build a prototype of this  idea using 
jquery and Flask :)
But before experimenting, I'd like to know: there is already something of 
similar for Flask?
bye bye
--
(\__/)
(='.'=)
(")_(")

Giovanni Giorgi
jj@gioorgi.com





Re: [flask] Event driven blueprint

From:
Steven Kryskalla
Date:
2011-07-01 @ 20:31
On Fri, Jul 1, 2011 at 4:26 PM, Giovanni Giorgi <jj@gioorgi.com> wrote:
> But before experimenting, I'd like to know: there is already something of
> similar for Flask?

Hi Giovanni,

Take a look at this:

http://packages.python.org/Flask-Sijax/

Also take a look at pyjamas (it isn't related to Flask though):

http://pyjs.org/

-Steve