[Flashticle] Ok, trying to sidestep the whole TG issue
Jos Yule
lists at theorganization.net
Thu Jul 27 17:31:33 EDT 2006
I'm now playing around with the wsgi gateway version.
This is what i've got so far:
<code>
from wsgiref.simple_server import make_server, demo_app
import flashticle.wsgigateway
gate =
flashticle.wsgigateway.FlashRemotingGateway(flashticle.wsgigateway.paste_app('service
HelloWorld':"HelloWorld:HelloWorld"}))
httpd = make_server('', 8000, gate)
print "Serving HTTP on port 8000..."
httpd.serve_forever()
</code>
I'm a bit lost as to what i'm actually doing.
I get that i have to send a dict to paste_app. I'm not totally sure of
the key/value pairs. I _think_ they should look like this:
{'service HelloWorld':'HelloWorld:sayHello'}
but i'm not sure. Also not sure where the 'HelloWorld' module file
should live - i think it would be HelloWorld.py in the same dir as the
test.py server file.
Or am i way off?
Tx
j
--
Jos Yule
Digital Hyakugei
More information about the Flashticle
mailing list