1 / 11

Node.js

Node.js. Emerging Web Technologies. What is node.js?. A programming language much like java and PHP JavaScript without a browser Based on Google Chrome’s V8 engine Officially named “node” Called “node.js” to avoid confusion. Where did node.js come from?. Open source project

ofira
Télécharger la présentation

Node.js

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Node.js Emerging Web Technologies

  2. What is node.js? • A programming language much like java and PHP • JavaScript without a browser • Based on Google Chrome’s V8 engine • Officially named “node” • Called “node.js” to avoid confusion

  3. Where did node.js come from? • Open source project • Now sponsored by Joyent • Community writes the modules

  4. What can node.js do? • Act as a simple web server • Build command line tools and scripts • Live communication • Anything that can be written in javascript • Can catch errors before running code • Model called JSHint

  5. Who uses node.js? • A lot of high profile companies depend on node.js such as Yahoo, LinkedIn, eBay, PayPal, Microsoft and more

  6. Example of node.js code

  7. Why would you use node.js? • Specifically optimized to be good at the kind of applications that people build for the internet • Popular – being used everywhere these days • Real time two way connection between server and client • Lightweight, won’t take up much system RAM • Operates on single thread allowing it to support lots of concurrent connections.

  8. Example

  9. How do you use node.js? • Documentation available at http://nodejs.org/documentation/ • Tutorial available at http://nodeschool.io/

  10. Where do you get node.js? • Free to get from http://nodejs.org/download/ • Or https://github.com/joyent/node • Installing node requires you follow the instructions of your particular platform. • If you are using a Unix like platform such as OSx, you should use something called NVM(Node Version Manager) and NPM(Nodes Packet Manager)

  11. References • https://www.google.com.au/ • http://nodejs.org/documentation/ • http://nodejs.org/about/ • http://en.wikipedia.org/wiki/Node.js • http://www.toptal.com/nodejs/why-the-hell-would-i-use-node-js#. • http://stackoverflow.com/questions/2353818/how-do-i-get-started-with-node-js • https://developer.yahoo.com/blogs/ydn/yahoo-announces-cocktails-shaken-not-stirred-51439.html • http://venturebeat.com/2011/08/16/linkedin-node/ • http://www.ebaytechblog.com/2011/11/30/announcing-ql-io/#.VAXPy_mSyHM • https://www.paypal-engineering.com/2013/11/22/node-js-at-paypal/ • http://azure.microsoft.com/en-us/develop/nodejs/

More Related