Re: [Twisted-Python] Perspective Broker, XMLHttpRequest and JSON
18 Aug
2006
18 Aug
'06
11:41 a.m.
On 09:02 am, manlio_perillo@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.
6432
Age (days ago)
6432
Last active (days ago)
2 comments
3 participants
participants (3)
-
L. Daniel Burr
-
Manlio Perillo
-
radix@twistedmatrix.com