Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Node.JS: Why is it awesome?

Node.JS: Why is it awesome?

Стас Демчук WebUI Developer at Softserve
Node.JS: Why is it awesome?
Нові платформи і фреймворки для розробки веб-аплікацій з’являються все частіше і частіше, тому в багатьох з’являється думка про те, що більшість з них - ненадійні та мають дуже багато слабких сторін. Під час презентації ми обговорюватимемо Node.JS, платформу, яка дозволяє виконувати Javscript на сервері, дізнаємось що це за звір і з чим його їсти, довідаємось сильні та слабкі сторони, а також розглянемо випадки, де Node.JS використовувати доцільно, а де доречніше було б використати щось інше.

Grygoriy Mykhalyuno

May 17, 2014
Tweet

More Decks by Grygoriy Mykhalyuno

Other Decks in Programming

Transcript

  1. Agenda 1. What is Node.JS? 2. Event loop 3. Why

    should I use it? 4. Good & bad use cases 5. Useful stuff
  2. 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.
  3. 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
  4. Good  use  cases 1. JSON APIs 2. SPAs 3. Interaction

    with unix tools 4. Data streaming 5. Realtime apps
  5. Bad  use  cases 1. Heavy CPU usage 2. Simple CRUD

    / HTML apps 3. Relational databases
  6. Useful  stuff • Grunt • Bower • Yeoman • Nodemon

    • Forever • Request • Passport • MEAN.io