Top Banner
Node down the r oad Poornima Venka takrishnan Paypal
19

Node down the road - Poornima Venkatakrishnan, PayPal

Aug 06, 2015

Download

Technology

turboki
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Node down the road - Poornima Venkatakrishnan, PayPal

Node down the roadPoornima Venkatakrishnan

Paypal

Page 2: Node down the road - Poornima 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

Page 3: Node down the road - Poornima Venkatakrishnan, PayPal

Lessons Learned

Page 4: Node down the road - Poornima Venkatakrishnan, PayPal

Change “Lets re-build the world” philosophy

Page 5: Node down the road - Poornima Venkatakrishnan, PayPal

4 Understand existing solutions in the node.js ecosystem

4 Build lightweight wrappers for Paypal customizations

Page 6: Node down the road - Poornima Venkatakrishnan, PayPal

Ramp-up help for new node. js engineers

Page 7: Node down the road - Poornima Venkatakrishnan, PayPal

4 Effective Javascript Training

Page 8: Node down the road - Poornima Venkatakrishnan, PayPal

4 Node.js Training

Page 9: Node down the road - Poornima Venkatakrishnan, PayPal

Identify Anti-Patterns

Page 10: Node down the road - Poornima Venkatakrishnan, PayPal

4 Understand flow control

4 Error Handling

4 Understand the npm ecosystem

4 Avoid over modularizing

Page 11: Node down the road - Poornima Venkatakrishnan, PayPal

One size never fits all

Page 12: Node down the road - Poornima Venkatakrishnan, PayPal

4 Remove magic

4 Give more control to the consumer

4 Make solutions that are easily configurable/ pluggable

Page 13: Node down the road - Poornima Venkatakrishnan, PayPal

Other side of the coin…

Page 14: Node down the road - Poornima Venkatakrishnan, PayPal

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

Page 15: Node down the road - Poornima Venkatakrishnan, PayPal

Case Study 1: Experiments with frameworks

4 Angular.js for Checkout Experience

4 React.js for Consumer Wallet Experience

Page 16: Node down the road - Poornima Venkatakrishnan, PayPal

Case Study 2: Apps with self contained functionality

4 Header/Footer

4 Activation progress bar

Page 17: Node down the road - Poornima Venkatakrishnan, PayPal

Case Study 3: npm modules for service orchestrations

4 business logic

4 service response aggregation

4 service specific error handling

Page 18: Node down the road - Poornima Venkatakrishnan, PayPal

Swaggerize

A Design-driven approach to building RESTful apis

4 swaggerize-express

4 swaggerize-hapi

4 generator-swaggerize

https://github.com/krakenjs

Page 19: Node down the road - Poornima Venkatakrishnan, PayPal

THANK YOU

Twitter: @poorni_venkat

Github: https://github.com/pvenkatakrishnan