Node.js implementation of PHP (Drupal) queue functions

Node.js implementation of PHP (Drupal) queue functions

Closed - This job posting has been filled.

Job Description

Develop NodeJS (node.js) functions to mirror the mongodb_queue in Drupal.

The objective is to work with the same queue in MongoDB from both Drupal and Node.js.

Drupal SystemQueue functions
http://api.drupal.org/api/drupal/modules!system!system.queue.inc/group/queue/7
http://api.drupal.org/api/drupal/modules%21system%21system.queue.inc/class/SystemQueue/7
Drupal MongoDB queue fuctions
http://drupalcontrib.org/api/drupal/contributions%21mongodb%21mongodb_queue%21mongodb_queue.inc/class/MongoDBQueue/7
We don't currently need the expire routine in Drupal:./modules/mongodb/mongodb_queue/mongodb_queue.module:cron because we are running cron from Drupal.

We need these:

__construct($name)
createItem($data)
numberOfItems() {
claimItem($lease_time = 30)
releaseItem($item)
deleteItem($item)
createQueue()
deleteQueue()

Please include an estimate of the time required to complete this project.

Other open jobs by this client