HTML and CSS Reference
In-Depth Information
Agile methodologies are a particularly attractive target for tools based on messaging be-
cause agile is intended to be collaborative rather than dictatorial. So it's expected that you
might have a bunch of people online trying to update the same plan at the same time.
Before you proceed: prerequisites
Before you begin this portion of the application, you'll need certain prerequisites to make
the application in this section work. Specifically, you'll need the following:
The chat app —See section 4.1 .
Node.js —Download from http://nodejs.org/ ; see appendix E for install instruc-
tions.
• You'll also need to install four Node modules (see appendix E for details of how
to install):
Director —Download from https://github.com/flatiron/director or install
with NPM; for handling routing (assigning requested URLs to handlers).
Session.js —Download from https://github.com/Marak/session.js or in-
stall with NPM; for handling user sessions.
Mustache —Download from http://mustache.github.com/ or install with
NPM; for generating HTML from combining objects and templates, both
within Node and in client-side JavaScript.
WebSocket-Node —Download from https://github.com/Worlize/
WebSocket-Node or install with NPM; for extending Node to support We-
bSockets.
jQuery —Download from http://jquery.com/ .
EventEmitter.js —Download from https://github.com/Wolfy87/EventEmitter .
The rest of the files you need are available in the code download from the Manning .com
website; we won't list them here because they're not relevant to the WebSockets logic.
You'll need to either create your own or grab the ones from the download.
An overview of the building process
After you load your prerequisites and test your installation, the building process will flow
like this:
1 . Create a template page.
Search WWH ::




Custom Search