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.
rizafahmi.com
JavaScript on the backend
Hi, I’m Riza
What NodeJS is
"Node.js® is a JavaScript run!me built on Chrome's
V8 JavaScript engine. Node.js uses an event-driven,
non-blocking I/O mo...
v8 Javascript Engine
High Performing
Accurate Garbage
Collector
Event-Driven

// jQuery
$('p').click(function () {
console.log('You clicked a paragraph!')
})

// NodeJS
http
.get('http:
...
Blocking Assistant
Blocking Assistant
Non-Blocking Assistant
Why NodeJS
JavaScript is Everywhere!
ServerBrowser Desktop
Mobile iOT & Embedded Robotics
Vibrant Community
Local Community
Nov ‘13
First Meetup
2.035
Members
32
Meetup Events

Held
100-ishAttendees per
month
meetup.com/JakartaJS
History of2009 Ryan Dahl Started it
2013 v.0.10
2015 v.0.12
IO.js happening
2015 v.4 September
2015 v.5 October
2017 v.8 M...
Use Cases
Real-time, high concurrency app
API For Single-page Application
Service
Orchestration
https://www.dynatrace.com/blog/node-js-is-hitting-the-big-time-in-enterprise-markets/
Video Streaming App
Game Server
Success Story
Better
Performance
Leverage JS Skills
Resource
Utilization
Distributed
System
Quick Iteration
Continously
Optimizes
20.000 hits/s Fewer LOC More Talent
Low Cost Perfect For Cloud Microservices
Productive Fewer LOC Fewer Files
Microservice Best For UI Reduce Build
Opportunities
Node.js is the only language listed on
UpWork's Top 10 most wanted IoT
Developer Skills
Most Popular Technologies per Dev Type
https://insights.stackoverflow.com/survey/2016#technology
Full-stack Front-end Back-...
Most Wanted Tech
https://insights.stackoverflow.com/survey/2016#technology-most-loved-dreaded-and-wanted
NodeJS
#2
https://medium.freecodecamp.org/trending-developer-skills-based-on-my-analysis-of-ask-hn-whos-hiring-26c02a3ca1fd
https://medium.freecodecamp.org/trending-developer-skills-based-on-my-analysis-of-ask-hn-whos-hiring-26c02a3ca1fd
Learning Curve
“As long as you avoid some of its most commonly abused
features, JavaScript is a beautiful, elegant, highly
expressive lan...
“One of the things which attracted us to Node.js was the
ability to leverage our existing front-end talent to do
JavaScrip...
“Learning Node is easy. Learning to use it to create real
applications is hard.” Trevor Burnham, Author of the book
Async ...
“Node and JavaScript in general is easy to learn. But hard to
master.” Riza Fahmi, Co-Founder Hacktiv8
Getting Started
$ pacman -S nodejs npm # ArchLinux
$ curl -sL https:
//deb.nodesource.com/setup_6.x | sudo -E bash -
$ sudo apt-get instal...
THOUGHTS??!
facebook.com/rizafahmi
twi#er.com/rizafahmi22 linkedin.com/in/rizafahmi
github.com/rizafahmi
slideshare.com/ri...
Why NodeJS
Why NodeJS
Why NodeJS
Upcoming SlideShare
Loading in …5
×

Why NodeJS

410 views

Published on

Penjelasan tentang platform NodeJS yang memungkinkan kita menulis code JavaScript di sisi server. Materi dibawakan di meetup Programming Wars Software Architect Indonesia Community tanggal 26 Agustus 2017 di Microsoft Indonesia

Published in: Technology
  • Be the first to comment

Why NodeJS

  1. 1. rizafahmi.com JavaScript on the backend
  2. 2. Hi, I’m Riza
  3. 3. What NodeJS is
  4. 4. "Node.js® is a JavaScript run!me built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.” NodeJS Official Website
  5. 5. v8 Javascript Engine High Performing Accurate Garbage Collector
  6. 6. Event-Driven // jQuery $('p').click(function () { console.log('You clicked a paragraph!') }) // NodeJS http .get('http: //nodejs.org/dist/index.json', res => { res.on('data', chunk => { rawData += chunk }) }) .on('error', e => { console.error(`Got error: ${e.message}`) })
  7. 7. Blocking Assistant
  8. 8. Blocking Assistant
  9. 9. Non-Blocking Assistant
  10. 10. Why NodeJS
  11. 11. JavaScript is Everywhere! ServerBrowser Desktop Mobile iOT & Embedded Robotics
  12. 12. Vibrant Community
  13. 13. Local Community
  14. 14. Nov ‘13 First Meetup 2.035 Members 32 Meetup Events
 Held 100-ishAttendees per month meetup.com/JakartaJS
  15. 15. History of2009 Ryan Dahl Started it 2013 v.0.10 2015 v.0.12 IO.js happening 2015 v.4 September 2015 v.5 October 2017 v.8 May 2016 v.6 April
  16. 16. Use Cases
  17. 17. Real-time, high concurrency app
  18. 18. API For Single-page Application
  19. 19. Service Orchestration https://www.dynatrace.com/blog/node-js-is-hitting-the-big-time-in-enterprise-markets/
  20. 20. Video Streaming App
  21. 21. Game Server
  22. 22. Success Story
  23. 23. Better Performance Leverage JS Skills Resource Utilization
  24. 24. Distributed System Quick Iteration Continously Optimizes
  25. 25. 20.000 hits/s Fewer LOC More Talent
  26. 26. Low Cost Perfect For Cloud Microservices
  27. 27. Productive Fewer LOC Fewer Files
  28. 28. Microservice Best For UI Reduce Build
  29. 29. Opportunities
  30. 30. Node.js is the only language listed on UpWork's Top 10 most wanted IoT Developer Skills
  31. 31. Most Popular Technologies per Dev Type https://insights.stackoverflow.com/survey/2016#technology Full-stack Front-end Back-end #8 #4 #9
  32. 32. Most Wanted Tech https://insights.stackoverflow.com/survey/2016#technology-most-loved-dreaded-and-wanted NodeJS #2
  33. 33. https://medium.freecodecamp.org/trending-developer-skills-based-on-my-analysis-of-ask-hn-whos-hiring-26c02a3ca1fd
  34. 34. https://medium.freecodecamp.org/trending-developer-skills-based-on-my-analysis-of-ask-hn-whos-hiring-26c02a3ca1fd
  35. 35. Learning Curve
  36. 36. “As long as you avoid some of its most commonly abused features, JavaScript is a beautiful, elegant, highly expressive language.” Stanford’s Programming Methodology Syllabus
  37. 37. “One of the things which attracted us to Node.js was the ability to leverage our existing front-end talent to do JavaScript development on both the client and server” Claude Jones, Director of Engineering, Wallmart
  38. 38. “Learning Node is easy. Learning to use it to create real applications is hard.” Trevor Burnham, Author of the book Async JavaScript
  39. 39. “Node and JavaScript in general is easy to learn. But hard to master.” Riza Fahmi, Co-Founder Hacktiv8
  40. 40. Getting Started
  41. 41. $ pacman -S nodejs npm # ArchLinux $ curl -sL https: //deb.nodesource.com/setup_6.x | sudo -E bash - $ sudo apt-get install -y nodejs # Debian, Ubuntu, Windows $ curl --silent --location https: //rpm.nodesource.com/setup_6.x | bash - $ yum -y install nodejs # Fedora, CentOS $ brew install node
  42. 42. THOUGHTS??! facebook.com/rizafahmi twi#er.com/rizafahmi22 linkedin.com/in/rizafahmi github.com/rizafahmi slideshare.com/rizafahmi rizafahmi.com hack!v8.com

×