Slide 1

Slide 1 text

Node.JS:  Why  is   it  awesome

Slide 2

Slide 2 text

Agenda 1. What is Node.JS? 2. Event loop 3. Why should I use it? 4. Good & bad use cases 5. Useful stuff

Slide 3

Slide 3 text

What  is  Node.JS? • Node.js is a software platform for scalable server- side and networking applications. • Node.js internally uses the Google V8 JavaScript engine to execute code, and a large percentage of the modules are written in JavaScript. • Node.js contains a built-in asynchronous i/o library for file, socket and HTTP communication. The HTTP and socket support allows Node.js to act as a web server without additional web server software such as Apache.

Slide 4

Slide 4 text

Event  loop

Slide 5

Slide 5 text

Why  should  I  use  it? Node.js is: 1. Event-driven 2. Treating data like a stream 3. Scalable 4. Great for prototyping 5. Corporate backed 6. Gathering a big comminuty == a lot of developers 7. Taking over the enterprise

Slide 6

Slide 6 text

Good  use  cases 1. JSON APIs 2. SPAs 3. Interaction with unix tools 4. Data streaming 5. Realtime apps

Slide 7

Slide 7 text

Bad  use  cases 1. Heavy CPU usage 2. Simple CRUD / HTML apps 3. Relational databases

Slide 8

Slide 8 text

Useful  stuff • Grunt • Bower • Yeoman • Nodemon • Forever • Request • Passport • MEAN.io

Slide 9

Slide 9 text

No content