Upload
sarunyhot-suwannachoti
View
42
Download
4
Tags:
Embed Size (px)
Citation preview
The Essence of Node
• JavaScript on the Server
• More than server-side JavaScript
• Fabulous framework
• Asynchronous programming
• Module-driven development
JavaScript on the Server
• Easy to learn
• Lets you unify your client/server logic
• Productivity
• Already in the Enterprise (Paypal, Netflix, Walmart)
Trending repositories on GitHub
Language Active RepositoriesJavaScript 323,938
Java 222,852
Python 164,852
CSS 164,585
PHP 132,848
Ruby 132,848
C++ 86,505
C 73,075
Shell 65,670
C# 56,062
More than server-side JavaScript
• Web server
• Robot controller (tessel.io)
• Command line application
• Proxy server
• Music machine
• Desktop application tooling: NW.js
Fabulous framework
• Express
• Restify (for building REST APIs, automatic DTrace support)
• Hapi (configuration-centric framework)
• Sails (fast production-ready)
• Meteor (realtime application)
Asynchronous Programming
• Alternative programmer mindset
• API focus on callbacks, events and streams
• Single-threaded!
The state of the registry
• 1400MM package downloads last month
• 150,000 packages in the registry
• `Node` is moving faster than `Node.js`
Module-driven development
• npm focused on module-driven development
• ES6 Modules
• Module-driven development for the browser
• Browser tools: Browserify
Mapping the Future of Node
• Debugability
• Better streams
• ES6 and beyond
• Track stable V8 releases (StrongMode, SoundScript)
• Focus on async API