Drupal python background server

Heres some code attached I wrote last year but havent published it on drupal.org just yet, it's my python background server for drupal actions, or put simply "Asynchronous python daemon for Drupal interaction"

Just perfect for managing actions that require long, cpu or filesystem intensive operations such as encrypting, building a file, or even interfacing with other hardware/usb/bluetooth etc etc

This is born out of the need to have a workflow actions trigger where those actions execute independently of the main Drupal/PHP thread (as PHP does not offer any form of threading).

Effectively you are making an asychronous call to trigger a new thread for each request in the python daemon (which returns immediately to allow your drupal application to continue executing) in the python layer from the PHP layer via XML-RPC and drupal actions.

Fortunately the serialized node object from drupal, and python's un-serialize are compatible! so you can send your node to your python layer via XML-RPC with no fuss.

Finally, the python layer communicates back with the PHP layer to inform the PHP/Drupal that the action is complete and to transition the workflow.

See attached code, includes drupal module and python backend server.

AttachmentSize
drupal_background.tgz5.84 KB

YouTube is a video-sharing

YouTube is a video-sharing website on which users can upload, share, and view video izle. Three former PayPal employees created YouTube in February 2005. In November 2006, YouTube, LLC was bought by Google Inc. for $1.65 billion, and is now operated as a subsidiary of Google. The company is based in San Bruno, California, and uses Adobe Flash Video technology to display a wide variety of user-generated video content, Yeşim Çetin videoları, Yeşim Çetin sevişme, Yeşim Çetin frikikleri, Yeşim Çetin dekolte, Yeşim Çetin mini etek, including movie clips, TV clips, and music videos, as well as amateur content such as video blogging and short original videos. Most of the content on YouTube has been uploaded by individuals, although media corporations including CBS, BBC, VEVO and other organizations offer some of their material via the site, as part of the YouTube partnership program.