One cool thing about node.js is ability to pass data from server to client-side with just a couple of lines of code, if you use Express+Jade.
Here’s a quick example:
One cool thing about node.js is ability to pass data from server to client-side with just a couple of lines of code, if you use Express+Jade.
Here’s a quick example:
Lines 3-10 are not Client side, but Server side :)
Cheers