Node.js

553 views

Published on

node.js

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
553
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Node.js

  1. 1. Node.js Easy, Scaleable and Fast
  2. 2. The new cool kid in town Java, Php, Rails and now Node.js
  3. 3. So, Why Node?
  4. 4. Cause Its fast
  5. 5. Fast mean Event-Driven Non-Blocking I/O Lightweight Efficient
  6. 6. Cause Its cool
  7. 7. Cool mean Everyone to use it so its super easy to find people who will want to join you
  8. 8. Scalable Node.js is the perfect solution for perfect for data-intensive real-time applications that run across distributed devices.
  9. 9. an example (CallBack) result = query( "select smurfs from some_mushroom" ); // twiddle fingers go_do_something_with_result( result ); query( statement: "select smurfs from some_mushroom", callback: go_do_something_with_result() );
  10. 10. an example (Events) var events = require('events'); var eventEmitter = new events.EventEmitter(); var ringBell = function ringBell() { console.log('ring ring ring'); } eventEmitter.on('doorOpen', ringBell); eventEmitter.emit('doorOpen');
  11. 11. an example (Events) why we want to use event 1. dry 2. organize 3. callback 4. readable

×