Avoiding Regressions in 3rd Party JavaScript
-
Upload
cameron-westland -
Category
Technology
-
view
249 -
download
0
Transcript of Avoiding Regressions in 3rd Party JavaScript
TOC 1/5
How to iterate really fast
What is 3pjs?
How we broke our customers website
How we won’t break any more websites
Wrap-up
Monday, 18 March, 13
How to iterate really fast
What is 3pjs?
How we broke our customers website
How we won’t break any more websites
Wrap-up
TOC 2/5
Monday, 18 March, 13
1. User authors walkthrough using our tool
2. Deploys it to their website
3. The walkthrough guides users through tough workflows
Monday, 18 March, 13
How to iterate really fast
What is 3pjs?
How we broke our customers website
How we won’t break any more websites
Wrap-up
TOC 3/5
Monday, 18 March, 13
How we completely busted Verold Studio…AKA: Why not to trust third party javascript startups.
Monday, 18 March, 13
How to iterate really fast
What is 3pjs?
How we broke our customers website
How we won’t break any more websites
Wrap-up
TOC 4/5
Monday, 18 March, 13
VERSIONING
Web Appspush when
green
Web APIsversion applies to the interface
only
Client Libraries
???
Monday, 18 March, 13
IMMUTABILITY
• “The quality of being incapable of mutation”
• Version 1.1.1 never changes
• Version 1.1.2 is different than 1.1.1
Monday, 18 March, 13
HOSTING OLD VERSIONS
lastest.json1.1.11.1.01.0.71.0.61.0.51.0.41.0.31.0.21.0.11.0.0
Monday, 18 March, 13
How to iterate really fast
What is 3pjs?
How we broke our customers website
How we won’t break any more websites
Wrap-up
TOC 5/5
Monday, 18 March, 13
• Version both your server and client
• Server slow (based on API)
• Client fast (every push)
• Data drive which version your customer is using
• Don’t delete old versions that are still being used
• Go fast and break things
SUMMARY
Monday, 18 March, 13