Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

The future of node

375 views

Published on

Future of node.js

Published in: Technology
  • Be the first to comment

The future of node

  1. 1. The Future of Node.js Sarunyhot Suvannachoti (Kao) Software Engineer @ jitta.com
  2. 2. The Essence of Node • JavaScript on the Server • More than server-side JavaScript • Fabulous framework • Asynchronous programming • Module-driven development
  3. 3. JavaScript on the Server • Easy to learn • Lets you unify your client/server logic • Productivity • Already in the Enterprise (Paypal,Netflix,Walmart)
  4. 4. Trending repositories on GitHub Language Active Repositories JavaScript 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
  5. 5. Trending repositories on GitHub
  6. 6. More than server-side JavaScript • Web server • Robot controller (tessel.io) • Command line application • Proxy server • Music machine • Desktop application tooling: NW.js
  7. 7. Desktop Application (torrent)
  8. 8. Desktop Application (editor)
  9. 9. Desktop Application (music)
  10. 10. Desktop Application (game)
  11. 11. Fabulous framework • Express • Restify (for building REST APIs, automatic DTrace support) • Hapi (configuration-centric framework) • Sails (fast production-ready) • Meteor (realtime application)
  12. 12. Asynchronous Programming • Alternative programmer mindset • API focus on callbacks,events and streams • Single-threaded!
  13. 13. Asynchronous Programming • Promises • function* add() { } • async await (ES7)
  14. 14. Module-driven development • npm • Simplicity • Decoupled and reusable coding
  15. 15. The state of the registry • 1400MM package downloads last month • 150,000 packages in the registry • `Node` is moving faster than `Node.js`
  16. 16. Module-driven development • npm focused on module-driven development • ES6 Modules • Module-driven development for the browser • Browser tools: Browserify
  17. 17. Module-driven development for the browser bower install moment --save npm install moment --save
  18. 18. The Future of Node: Node.js + io.js?
  19. 19. +
  20. 20. Fork of Node.js +
  21. 21. Node.js Foundation Fork of Node.js +
  22. 22. Mapping the Future of Node • Debugability • Better streams • ES6 and beyond • Track stable V8 releases (StrongMode,SoundScript) • Focus on async API
  23. 23. Summary
  24. 24. Question?
  25. 25. Thank you!!!

×