Your SlideShare is downloading. ×
0
Node.JSServer side javascript
Intro    Good old javascript    But server side    Fully asynchronus    “Buzz” technology
Use cases    Real time web applications    Messaging    File download    Anything that spends lot of time waiting for ...
Differences from Web browser    CommonJS – http://wiki.commonjs.com    Modules            Npm – http://www.npmjs.org  ...
Programming paradigm    Non blocking operations    Functional programming            Lazy – doing only when needed    ...
Example     HTTP server, which     serves movie.avi from        current directory
Modules            require();            exports functions and        variables from from        files module.exports
callbacks              most common code         construct              functions are         variables              non...
Thank you!
Upcoming SlideShare
Loading in...5
×

Node.JS

767

Published on

BackToSchool @ True Vision

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

  • Be the first to like this

No Downloads
Views
Total Views
767
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Node.JS"

  1. 1. Node.JSServer side javascript
  2. 2. Intro Good old javascript But server side Fully asynchronus “Buzz” technology
  3. 3. Use cases Real time web applications Messaging File download Anything that spends lot of time waiting for something
  4. 4. Differences from Web browser CommonJS – http://wiki.commonjs.com Modules  Npm – http://www.npmjs.org File system, external process and network API
  5. 5. Programming paradigm Non blocking operations Functional programming  Lazy – doing only when needed Event based  Do something when something happens
  6. 6. Example HTTP server, which serves movie.avi from current directory
  7. 7. Modules  require();  exports functions and variables from from files module.exports
  8. 8. callbacks  most common code construct  functions are variables  non-blocking  “this” magick – var self = this; trick
  9. 9. Thank you!
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×