coder1.com

  • home
  • drupal articles
  • contact
Home

Python

Twisted, Long Polling, & JSONP

Mike Milano — December 30, 2011 - 10:06pm

I recently decided to use Twisted as the framework for a new project. In short, this app listens to and parses incoming events from multiple servers, as well as issues commands back to them.

Once I had Python doing its job managing the data, the next step was to expose the data in memory from the Twisted app to an existing PHP/Drupal UI. Twisted makes it pretty simple to attach an HTTP server to your app, so I did just that.

Why JSONP?

  • JSON
  • JSONP
  • Long Polling
  • Python
  • Twisted
  • Add new comment
  • Read more
Syndicate content

Poll

Have you used any NoSQL Databases?:

User login

  • Request new password

Navigation

  • Recent posts

  • home
  • drupal articles
  • contact