THE PAYPAL CASE-STUDY
One Language to Rule them all
Slide 20
Slide 20 text
THE PAYPAL CASE-STUDY
Now all new apps at PayPal are written in
Node.
Slide 21
Slide 21 text
THE PAYPAL CASE-STUDY
- Headcount: from ⅓ to 1/10
- Performance: 10x throughput in scale
- Lines of code: code size shrink by factor of
3-5
Slide 22
Slide 22 text
HOW?
Slide 23
Slide 23 text
No content
Slide 24
Slide 24 text
NPM
- open repository for Node modules
- proper SemVer
- more than 100.000 modules
- open source all the things!
Slide 25
Slide 25 text
NPM
Would be nice to use all this in the browser as
well?
Slide 26
Slide 26 text
No content
Slide 27
Slide 27 text
BROWSERIFY
- require('modules') in the browser
- bundling up all of your dependencies from
the node_modules dir
- does not pollute the global scope
http://blog.risingstack.com/publishing-your-first-browserify-node-module/
Slide 28
Slide 28 text
BROWSERIFY
// main.js
var $ = require('jquery');
$('body').append('