Prezi

Share this prezi

Who can edit:

Present Online

Send the link below via email or IM to invite your audience

Copy

Start the presentation

Start presenting

  • Invited audience will follow you as you navigate and present
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can view together your prezi
  • Learn more about this feature in the manual

Download prezi for:

Present offline on a PC or Mac.

  • Embedded YouTube videos need an active Internet connection to play.
  • Portable prezis are not editable.

Edit and present offline with Prezi Desktop

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

Taking Baby Steps with Node.js

No description
by Jan Van Ryswyck on 6 September 2011

Comments (0)

Please log in to add your comment.

Report abuse

Prezi Transcript

Taking Baby Steps with Jan Van Ryswyck .NET architect JavaScript enthusiast http://elegantcode.com http://twitter.com/janvanryswyck Agenda What is Node.js? Installation Asynchronous I/O Modules Tools WebSockets Resources Questions What is Node.js? Why JavaScript? Installation db.select("select data from table"); Blocking I/O Initially only Linux and Mac OS Windows is still work-in-progress (upcoming version 0.6) Installing for Cygwin http://tiny.cc/u5ve9 Still issues? http://tiny.cc/wjefz Non-blocking I/O db.select("select data from table", function(result) { // Process the result }); JavaScript C Ryan Dahl - Node.js presentation Qcon November, 2010 <input type="button" value="My button" id="MyButton"/> <script type="text/javascript"> $('#MyButton').click(function() { console.log('Button clicked ...'); }); </script> Asynchronous I/O Example 0.1 Good, old-fashioned callbacks Example 0.2 Events, events, events Example 0.3 Example 0.4 Modules CommonJS http://tiny.cc/jo0iq Node.js built-in core modules http://tiny.cc/owm93 Massive amount of open-source modules http://tiny.cc/avnnv Custom modules Example 0.5 Example 0.6 Thank you ! Tools Installing npm curl http://npmjs.org/install.sh | sh npm http://npmjs.org/ npm registry http://tiny.cc/e4y7x documentation http://tiny.cc/k462q Demonstration node_modules convention n Installing n npm -g install n http://github.com/visionmedia/n Demonstration nodemon http://github.com/remy/nodemon Installing nodemon npm -g install nodemon Demonstration node-inspector https://github.com/dannycoates/node-inspector.git Installing node-inspector npm -g install node-inspector Demonstration WebSockets Socket.IO https://github.com/learnboost/socket.io-node Resources Example 0.7 The podcast module Our very own event emitter nodemon Managing different versions of Node.js node-inspector Simple chat server Callbacks Events Hello HTTP server Hello Node.js Node.js website http://nodejs.org/ Nodetuts http://nodetuts.com/ How To Node http://howtonode.org/ Up and Running with Node.js http://tiny.cc/uzb0h Hands-on Node.js http://tiny.cc/owrzy Felix's Node.js Guide http://tiny.cc/frh5s Mastering Node http://tiny.cc/jjp9l Conclusion npm Node Package Manager What is an event loop?
See the full transcript