I threw together a little Flash Remoting prototype for TurboGears in order to play around with the AMF implementation in flashticle (mostly to make sure it was correct beyond the stuff I've found in FLV and SOL files).

If anyone is interested in that sort of thing, the library code is checked in here (flashticle.turbogateway is the TG-specific gateway implementation):
http://svn.red-bean.com/bob/flashticle/trunk

The demo TurboGears app is here (currently just one trivial example adapted from some O'Reilly book):
http://svn.red-bean.com/bob/turbogatewaydemos/trunk

It will probably work to do "easy_install flashticle==dev" since I registered it at Cheese Shop, but I haven't tested that. I grab a checkout and do "python setup.py develop". The demos package isn't registered, so you have no choice there :)

As far as I know, this is the only working open source flash remoting implementation for Python. There's another one out there that's basically a literal translation of a Perl implementation (AMF::Perl) that was ported from a PHP implementation... but I didn't even bother to run it after a quick horrific glance at what unfinished Python code looks like when written by a Perl programmer that doesn't seem to be aware that there's an extensive standard library.

There's currently no documentation, online examples, proper website, etc. However, if you need this sort of thing then the API is relatively easy to figure out and it's sure as hell easier than writing your own.

-bob

Reply via email to