Skip to content

A pubsub event bus in node that facilitates events between browser clients and the server.

License

Notifications You must be signed in to change notification settings

bquilitz/node-bus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-bus

node-bus is a project where the goal is to provide a really simple facility for pubsub-style eventing between clients and between clients and the browser.

The bus framework includes a client-side javascript tool which handles all of the COMET requests to make the developer's job as easy as possible. (automatically degrades from WebSockets to long polling)

Running the Test Server

Open a console window, and move to the ./examples directory. Then type

sudo node server.js

Then, navigate a browser to http://localhost:8080/examples/

  • Be sure to include the trailing slash in the URL

Versions (tags)

  • v0.1a - Long-polling support for the client, and functioning server. Chat example and the maintest test app.
  • v0.2a - Adding support for WebSocket graceful degradation to longpolling.

About

A pubsub event bus in node that facilitates events between browser clients and the server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published