node.js and express.js/jade.js.A good exercise to learn about
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
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.
- Run the command
express JSandjQto setup the project folders.
cd JSandjQand run
- Go to JavsScript & jQuery: The Missing Manual and download the example code.
_jsfiles from the example code into the
publicfolder created during the express setup.
- All set to follow the examples and pump out some NODE!
Learn the docs