Difference between revisions of "ECE497 Notes on node.js"
m (→Links) |
m (→Links) |
||
Line 18: | Line 18: | ||
* [http://net.tutsplus.com/tutorials/javascript-ajax/getting-started-with-node-js-and-geddy Geddy] and node.js. Geddy is a simple and structured MVC (model, view, controller) framework for Node.js. The tutorial is too detailed for what I'm looking for. [http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-to-do-list-app-with-node-js-and-geddy/ More geddy] | * [http://net.tutsplus.com/tutorials/javascript-ajax/getting-started-with-node-js-and-geddy Geddy] and node.js. Geddy is a simple and structured MVC (model, view, controller) framework for Node.js. The tutorial is too detailed for what I'm looking for. [http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-to-do-list-app-with-node-js-and-geddy/ More geddy] | ||
* [http://blog.nodejs.org/2012/04/25/profiling-node-js/ Profiling node.js] | * [http://blog.nodejs.org/2012/04/25/profiling-node-js/ Profiling node.js] | ||
+ | * [http://sharejs.org ShareJS – Live concurrent editing in your app] | ||
Revision as of 05:56, 26 April 2012
I'm working up and example on node.js. Here are some notes.
Contents
Links
- This looks like a good tutorial.
- Here's looks like some notes notes from Jason.
- Understanding node.js
- How to node. Looks like this also has some nice JavaScript tutorials.
- YouTube intro to node.js
- Understanding the node.js event loop
- Useful node.js tools
- Installing node.js, cloud9 and npm
- cloud9 development process.
- Manual for node.js
- Geddy and node.js. Geddy is a simple and structured MVC (model, view, controller) framework for Node.js. The tutorial is too detailed for what I'm looking for. More geddy
- Profiling node.js
- ShareJS – Live concurrent editing in your app
- Node.js in Action. Buy this one. It looks pretty good. It pointed me to the following two links.
- A re-introduction to JavaScript
- JavaScript: The Good Parts. This may be a pirated copy. Better buy the real one.
- Install jslint for node.js with
sudo npm -g install jslint
. Details here.
Socket.io looks like a good way to pass data to the browser.
Examples
Cloud9
Somehow Cloud9 fits in with this.
I'm trying to get cloud9 running on the Beagle.
beagle$ opkg update beagle$ opkg install nodejs (1min 6 sec) beagle$ opkg install nodejs-dev (I don't know if this is needed.)
Something from Jason
beagle$ opkg install bonescript beagle$ opkg install cloud9
Here’s how to get npm according to http://npmjs.org/
beagle$ opkg install curl (1m23) beagle$ opkg install nodejs (1m6) beagle$ curl http://npmjs.org/install.sh | sh (1m5)
It's said this will work on a current distribution of Angstrom, but it doesn't work for me.
beagle$ opkg install cloud9
non-Beagle
Here are instructions for a non-Beagle install from here.
host$ git clone git://github.com/ajaxorg/cloud9.git (16 seconds) host$ cd cloud9 host$ bin/cloud9.sh
then
host$ node ./bin/cloud9.js
gitting examples
git clone git://gitorious.org/~Jadon/beagleboard-validation/jadons-education.git (10s)