Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple demonstration of using nodeJS integration module in custom Drupal modules.
PHP JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE.txt
README.md
swapit_demo.client.js
swapit_demo.info
swapit_demo.module

README.md

SwapIt Demonstration

This module is a simple demonstration of how to build a custom module utilizing the nodeJS integration module. For more information on how this module works check out Module Development with Drupal and NodeJS. The example code in the post is taken directly from this module.

Setup

  1. Install and enable the nodejs integration module along with the appropriate node server configuration.
  2. Enable the swapit demonstration module.
  3. Make sure your node server is running.
  4. Go to mysite.com/swap and check it out! Use a couple of sessions to see the node-ey goodness.
Something went wrong with that request. Please try again.