Node.js – What is it? How can we use it?



Node.js – What is it? How can we use it?

0 0


nodejs


On Github mike-suggitt / nodejs

Node.js

What is it? How can we use it?

What is it?

  • Server-side JavaScript
  • Platform built on Chrome's V8 JavaScript runtime
  • Uses an event-driven, non-blocking I/O model

What is it good for?

  • For easily building fast, scalable network applications.
  • Lightweight and efficient
  • Perfect for data-intensive real-time applications that run across distributed devices.

What does it give me?

  • Hosting of static files
  • Monitoring
  • Logging
  • Middleware for additional functionality
  • A deployable and self-contained environment
  • Can work in sync with existing nginx or varnish cache layers

Shut up and show me some code!