Posted by synodinos on January 23, 2011 at 7:55pm
You might wanna check out Nodepal - A Drupal integration layer for Node.js developers
This is a module that allows the integration of a Drupal installation with a custom Node.js app. It provides an API so that Node.js developers can directly read and write in Drupal's repository, using constracts like node, user, permission, etc., with having to worry about the underlying implementation and setup of the Drupal installation.
Use Cases:
- You have a working Drupal installation, with users, content, etc. and would like to add real-time services like chat, etc. The usual Apache-PHP-MySQL setup might not the best suited for this kind of apps, so you can develop you app in Node.js and hook it up to your Drupal, using the Nodelpal integration layer.
- You want to build a new Node.js app, that has some notion of users, roles, permissions or content and would like to use Drupal's user, roles, permissions, content model and its great administrative interface, without having to build everything from scratch.
- You want to build a new Node.js app and combine it with Drupal because there is some Drupal module that you find useful. E.g. you can add a Drupal forum, a Blog, or expose some content as a Web Service, or search it with Apache Solr. There is a Drupal module for everything!
As far as I know, LimitedList (http://limitedlist.com/) is using Drupal 6 + Nodepal + Node.js in production.
You can visit Nodepal's page on github to open tickets for feature requests or contribute :-)

Comments
Nice...
We're looking at using Node.js for speeding up our comment rating subsystem and will definitely be checking out nodepal for this.
Drupal.org project page
Have you made a Drupal.org project page for this? It would help Drupal developers to find your project and use code.
(It will make it even easier for them if you host the code in Drupal.org's CVS repository, though CVS, GPL and not-being-a-module might make this confusing.)
Bevan/
Requires to actually commit PHP
I totally agree with you, but there is a problem with the Drupal.org process. In order to have a project page you MUST first submit PHP code to the CVS, so that someone can have a look and confirm that e.g. you are not a spammer. Nodepal on the other hand is 100% SSJS (no PHP), so it can't be hosted in http://drupal.org/project/Modules :(
I am already approved, so I
I am already approved, so I can create a project page if you like? I could then ask for project-ownership to be re-assigned to you. Alternatively you could create another more-typical Drupal module to get approved first.
Is there an equivalent place for node projects? Where does
npm(node.js package manager) get it's sources from?Bevan/
Node projects usually live in
Node projects usually live in github and are available via npm. The creator of a project, also creates the npm package and uploads it to repo manually or as part of a CI process.
There is no such requirement.
There is no such requirement. Otherwise projects like Dreditor wouldn't exist.
In fact, you have an open CVS application, but it's awaiting you to upload the project's code to get approval.
Senior Drupal Developer for Lullabot | www.davereid.net | @davereid
Didn't know that
I'm re-applying for CVS account.
synodinos. If it's code that
synodinos. If it's code that runs in node (as opposed to code that runs in Drupal) than it probably makes sense to do it the node.js-way.
I suggest you create a project page on Drupal.org anyway, and link to the GitHub repository. This will help Drupal users to find your code.
Bevan/