AtomizeJS is made up of several components:
Client-side libraries. These must be
<script/>-included in your HTML:
npm install atomize-server.
- atomize-server-node: The NodeJS server. This itself depends on atomize-client, cereal and sockjs-node.
- atomize-client: The AtomizeJS client library. This depends on sock.js and cereal.
- cereal: This is just an object serialisation library.
- atomize-examples: Some examples and tests for AtomizeJS.
AtomizeJS is currently still fairly alpha, but does work on Chrome (not sure what's the earliest version it works with, but 17 onwards is fine), Firefox (again, anything fairly recent should be fine), Safari (5.1 is fine, not sure about earlier versions), Internet Explorer 9, and Opera (11.6 is fine).
If you are using Chrome 17 or better, and wish to take advantage
need to start Chrome as:
- Install the latest V8. You need at least version 3.7. If you're on Debian/Ubuntu then the easiest route is to grab and install the packages from this PPA.
- Download the latest NodeJS source.
- Unpack it.
make installas usual.
npm install atomize-server
Then, when starting node, do so as:
node --harmony-collections --harmony-proxies app.js