Difference between revisions of "ECE497 Notes on node.js"
(→Links: Added JavaScript: The Good Parts) |
m (→Cloud9: Removed) |
||
(26 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:ECE497Notes |node]] |
+ | {{YoderHead}} | ||
I'm working up and example on [http://nodejs.org/ node.js]. Here are some notes. | I'm working up and example on [http://nodejs.org/ node.js]. Here are some notes. | ||
+ | |||
+ | == Installing == | ||
+ | === Beagle === | ||
+ | |||
+ | beagle$ opkg update | ||
+ | beagle$ opkg install nodejs | ||
== Links == | == Links == | ||
− | * [http://www.nodebeginner.org/ | + | * [http://www.nodebeginner.org/ nodebeginner.org] looks like a good tutorial. |
− | * [http://elinux.org/images/b/ba/Elc2011_kridner.pdf | + | * [http://nodeguide.com/ http://nodeguide.com/] |
+ | * [http://nodetuts.com/ nodetuts.com] | ||
+ | * [http://elinux.org/images/b/ba/Elc2011_kridner.pdf Elc2011_kridner.pdf] looks like some notes from Jason. | ||
* [http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb Understanding node.js] | * [http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb Understanding node.js] | ||
* [http://howtonode.org/ How to node]. Looks like this also has some nice JavaScript tutorials. | * [http://howtonode.org/ How to node]. Looks like this also has some nice JavaScript tutorials. | ||
− | * YouTube intro to [http://www.youtube.com/watch?v=jo_B4LTHi3I&feature=share node.js] | + | * YouTube intro to [http://www.youtube.com/watch?v=jo_B4LTHi3I&feature=share node.js] (About an hour.) |
* [http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/ Understanding the node.js event loop] | * [http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/ Understanding the node.js event loop] | ||
* [http://coding.smashingmagazine.com/2011/09/16/useful-node-js-tools-tutorials-and-resources/ Useful node.js tools] | * [http://coding.smashingmagazine.com/2011/09/16/useful-node-js-tools-tutorials-and-resources/ Useful node.js tools] | ||
Line 16: | Line 25: | ||
* [http://cloud9ide.posterous.com/never-commit-to-your-master cloud9] development process. | * [http://cloud9ide.posterous.com/never-commit-to-your-master cloud9] development process. | ||
* [http://nodemanual.org/latest/ Manual] for node.js | * [http://nodemanual.org/latest/ Manual] for node.js | ||
− | * [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/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://sharejs.org ShareJS – Live concurrent editing in your app] | ||
+ | * [https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html Web Audio API] | ||
+ | * [http://www.chromium.org/developers/meet-the-web-platform-companion Web platform] | ||
+ | * [http://engineering.linkedin.com/nodejs/blazing-fast-nodejs-10-performance-tips-linkedin-mobile Blazing fast nose.js] | ||
+ | * [http://nikhilm.github.com/uvbook/ libuv book] | ||
+ | |||
+ | * [http://www.manning.com/cantelon/ Node.js in Action]. Buy this one. It looks pretty good. It pointed me to the following two links. | ||
* [https://developer.mozilla.org/en/A_re-introduction_to_JavaScript A re-introduction to JavaScript] | * [https://developer.mozilla.org/en/A_re-introduction_to_JavaScript A re-introduction to JavaScript] | ||
* [http://eleventyone.done.hu/OReilly.JavaScript.The.Good.Parts.May.2008.pdf JavaScript: The Good Parts]. This may be a pirated copy. Better buy the real one. | * [http://eleventyone.done.hu/OReilly.JavaScript.The.Good.Parts.May.2008.pdf JavaScript: The Good Parts]. This may be a pirated copy. Better buy the real one. | ||
+ | * Install '''jslint''' for node.js with <code>sudo npm -g install jslint</code>. Details: [https://github.com/reid/node-jslint node-jslint]. | ||
− | + | [http://codehenge.net/blog/2011/12/getting-started-with-node-js-and-socket-io-v0-7-part-2/ Socket.io] looks like a good way to pass data to the browser. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === Examples === | |
− | + | * [http://csanz.posterous.com/intro-to-nodejs-slide-show-app-written-in-nod intro to node.js slide show app written in node.js] | |
− | + | * [http://maxogden.com/node-streams node streams] | |
− | + | * [http://summerofnodejs.com/ Summer of node.js] | |
− | + | * [http://cestfait.ch/content/chat-webapp-nodejs chat-webapp-nodejs] | |
− | + | * [http://shapeshed.com/creating-a-basic-site-with-node-and-express/ Creating a Basic Site With node.js and Express] | |
− | + | * [http://mustafaakin.wordpress.com/2012/04/28/wsftp-file-transfer-over-websockets/ WSFTP: File Transfer over Websockets] | |
− | + | * [http://www.chrissharkey.com/programming-blog/2012/03/12/making-an-hilarious-irc-bot-in-node-js MAKING AN HILARIOUS IRC BOT IN COFFEESCRIPT USING NODE.JS] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== gitting examples == | == gitting examples == | ||
git clone git://gitorious.org/~Jadon/beagleboard-validation/jadons-education.git ''(10s)'' | git clone git://gitorious.org/~Jadon/beagleboard-validation/jadons-education.git ''(10s)'' | ||
+ | |||
+ | {{YoderFoot}} |
Latest revision as of 10:05, 14 October 2013
Embedded Linux Class by Mark A. Yoder
I'm working up and example on node.js. Here are some notes.
Installing
Beagle
beagle$ opkg update beagle$ opkg install nodejs
Links
- nodebeginner.org looks like a good tutorial.
- http://nodeguide.com/
- nodetuts.com
- Elc2011_kridner.pdf looks like some notes from Jason.
- Understanding node.js
- How to node. Looks like this also has some nice JavaScript tutorials.
- YouTube intro to node.js (About an hour.)
- 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
- Web Audio API
- Web platform
- Blazing fast nose.js
- libuv book
- 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: node-jslint.
Socket.io looks like a good way to pass data to the browser.
Examples
- intro to node.js slide show app written in node.js
- node streams
- Summer of node.js
- chat-webapp-nodejs
- Creating a Basic Site With node.js and Express
- WSFTP: File Transfer over Websockets
- MAKING AN HILARIOUS IRC BOT IN COFFEESCRIPT USING NODE.JS
gitting examples
git clone git://gitorious.org/~Jadon/beagleboard-validation/jadons-education.git (10s)
Embedded Linux Class by Mark A. Yoder