Presentation from Web2.0 Expo NY 2011.
Good architecture of systems and flexibility of content has also allowed NPR to have the freedom and agility to quickly deploy solid user experience and elegant design to multiple platforms. This presentation will cover how NPR improved the code inside its API to be more efficient, while meeting new and evolving product needs
17. Goals for NPR API Improve development efficiencies Distribute content to stations and partners Allow the public to do amazing things with the API Greater flexibility in what we do with NPR content
18. The Life of a (FLEXIBLE) Story at NPR PresentationLayers CMS API 1 2 3 4
39. Goals for NPR API Improve development efficiencies Distribute content to stations and partners Allow the public to do amazing things with the API Greater flexibility in what we do with NPR content
40. Goals for NPR API Case Studies of the ^ Improve development efficiencies? Distribute content to stations and partners? Allow the public to do amazing things with the API? Greater flexibility in what we do with NPR content?
45. Lesson: Flexible Architecture A P I MySQL Instance Web Server Web Server Content Management System Cache Tier Web Server Web Server MySQL Instance Single Oracle Database Server (Point of Failure) Web Server Web Server MySQL Instance Web Server Web Server Web Server Web Server MySQL Instance Web Server Web Server MySQL Instance Web Server Web Server
48. Results of New Architecture Response time is 22% faster (0.45 -> 0.35s) Eliminated many (slightly) inaccurate returns Faster Development on the API Cleaner Separation of Output formats No more use of Xpath Queries Easier Ramp up for New Developers
58. Image Data in the API <image id="133849355" type="primary" width="200" src="http://media.npr.org/img/a1.jpg" hasBorder="false"> <crop type="square" src="http://media.npr.org/img/as.jpg" height="440" width="440"/> <crop type=”wide" src="http://media.npr.org/img/aw.jpg" height="400" width=”225"/> </image>
59. Case Studies of NPR API Improve development efficiencies? Distribute content to stations and partners? Allow the public to do amazing things with the API? Greater flexibility in what we do with NPR content?
70. Case Studies of NPR API Improve development efficiencies? Distribute content to stations and partners? Allow the public to do amazing things with the API? Greater flexibility in what we do with NPR content?
76. Case Studies of NPR API Improve development efficiencies? Distribute content to stations and partners? Allow the public to do amazing things with the API? Greater flexibility in what we do with NPR content?