I have finally committed my two flask examples to the repo (and they
showed up pretty much instantly in the source browser -- i.e. it works
as expected).  Please note that I have only tested the examples in
recent versions of Firefox and Chrome, but the pyjs code is not that
spectacular.

The first example is using cross origin jsonrpc with flask and
requires that one understands and has the examples/jsonrpc example
working.  Of course, you also need to have Flask installed and working
(very difficult to do incorrectly, imho).

The second example requires much more work, and is a central place for
me to keep a simple example of how to use flask + celery + jsonrpc.
The primary purpose of celery is to off-load resource intensive server
functions from the flask application to other servers.  Please read
the documentation if you are interested in this example.  Note that I
am now less enamored with flask than I was previously due to my
current inability to see how to not have to import all of my Python
modules into the flask application itself (either I have overlooked
something or this would be a problem for large modules or many
modules).

Regards,

Jeff Van Voorst

Reply via email to