Node down the road - Poornima Venkatakrishnan, PayPal

19
Node down the r oad Poornima Venka takrishnan Paypal

Transcript of Node down the road - Poornima Venkatakrishnan, PayPal

Node down the roadPoornima Venkatakrishnan

Paypal

A quick reality check4 39 apps on node.js

4 500+ engineers attended node.js training in 2014

4 22k avg npm reqs/hour

4 3558 unique npm pkg names recorded in the past month

Lessons Learned

Change “Lets re-build the world” philosophy

4 Understand existing solutions in the node.js ecosystem

4 Build lightweight wrappers for Paypal customizations

Ramp-up help for new node. js engineers

4 Effective Javascript Training

4 Node.js Training

Identify Anti-Patterns

4 Understand flow control

4 Error Handling

4 Understand the npm ecosystem

4 Avoid over modularizing

One size never fits all

4 Remove magic

4 Give more control to the consumer

4 Make solutions that are easily configurable/ pluggable

Other side of the coin…

4 Lot of support in various public channels

4 Easy to do a gradual migration

4 Got engineers to think with an open source mentality

4 Got creative juices flowing

4 Reason ? Really short Prototype-to-Live cycles

Case Study 1: Experiments with frameworks

4 Angular.js for Checkout Experience

4 React.js for Consumer Wallet Experience

Case Study 2: Apps with self contained functionality

4 Header/Footer

4 Activation progress bar

Case Study 3: npm modules for service orchestrations

4 business logic

4 service response aggregation

4 service specific error handling

Swaggerize

A Design-driven approach to building RESTful apis

4 swaggerize-express

4 swaggerize-hapi

4 generator-swaggerize

https://github.com/krakenjs

THANK YOU

Twitter: @poorni_venkat

Github: https://github.com/pvenkatakrishnan