#A good exercise to learn about node.js and express.js/jade.js.##
The book JavsScript & jQuery: The Missing Manual comes with plenty of examples that can be downloaded.
It wasn't until chapter 11
that AJAX is introduced when the user must have a server up.
I decided to flip through the books examples and import them into an express
framework using jade
to render the html
.
Once you get over the indentation that jade
uses (if you're coming from python
this is not an issue) it turns out you can do some pretty cool things.
## Getting Started ##
- Run the command
express JSandjQ
to setup the project folders. cd JSandjQ
and runnpm install
.- Go to JavsScript & jQuery: The Missing Manual and download the example code.
copy/paste
the_css
,_images
,_js
files from the example code into thepublic
folder created during the express setup.- All set to follow the examples and pump out some NODE!
## Learn the docs ##
- node.js v0.8.11
- express.js v3.0.0.rc2
- jade.js v0.27.2
- jquery.js v1.8.2
`carryOn`