[Twisted-Python] Perspective Broker, XMLHttpRequest and JSON

radix at twistedmatrix.com radix at twistedmatrix.com
Fri Aug 18 12:41:15 EDT 2006


On 09:02 am, manlio_perillo at libero.it wrote:
>Hi.
>
>Is it possible (at least in principle) to serialize objects in JSON and
>to do requests via HTTP?
>
>That is, to make possible to use Python functions and objects via
>JavaScript, using Perspective Broker.

Please post to twisted-web about web-related questions in the future.

No, PB does not know how to talk HTTP or JSON. You can still use twisted.web to implement a web server that can speak JSON to your Javascript code.  Also take a look at Divmod's Athena, part of Nevow, which implements two-way communication with web pages with an API similar to PB's. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20060818/54b407c4/attachment.htm 


More information about the Twisted-Python mailing list