https://github.com/ysimonson/node-bus
A pubsub event bus in node that facilitates events between browser clients and the server.
https://github.com/ysimonson/node-bus
Last synced: 3 months ago
JSON representation
A pubsub event bus in node that facilitates events between browser clients and the server.
- Host: GitHub
- URL: https://github.com/ysimonson/node-bus
- Owner: ysimonson
- License: mit
- Created: 2010-05-20T03:45:47.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2010-09-26T18:03:19.000Z (over 14 years ago)
- Last Synced: 2025-01-30T13:23:58.029Z (5 months ago)
- Language: JavaScript
- Homepage: http://www.jwf.us
- Size: 304 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node-bus
========node-bus is a project where the goal is to provide a really simple facility
for pubsub-style eventing between clients and a central server.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)Setting Things Up
=================First download the node-bus repository:
git clone [email protected]:node-bus/node-bus.git --recursive
cd node-bus
git submodule update --init --recursiveThen run the build:
ant
Running the Test Server
=======================Run the server:
cd apps
node server.jsThen, navigate a browser to http://localhost:8080/
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.
* v0.3a - Major changes:
* Moved communication logic into a separate project.
* Added smart publishing (server only publishes to clients that have
callbacks attached to the event)
* Created a collaborative drawing example* v0.4a - Major changes:
* Increased performance in unsubscribing by using objects for storing
subscription handlers rather than arrays.
* Modularized much of the code base so that subscription handling is shared
between the client/server.
* Started work on transformers.* 0.5a - Switched backend engine to Socket.IO.