Progressive Decoupling: A case study with PRI
summary
Case study of moving PRI’s Drupal 7 site toward an API-driven architecture by progressively decoupling a single page: build of a REST API via Restful module, a proxied React front end and a reusable React component library + Storybook that powers the new homepage. The homepage is only 5% of traffic so risk is low; performance improves ~40% with time to first byte under 0.5s after launch of API v1 and the new page in April. Trade-offs include added hosting and operational complexity, caching and a learning curve.
AI-written summary · about
chapters (25)
- 0:00PROGRESSIVE DECOUPLING
- 0:43BRANDON HUNDT DIRECTOR, TECHNICAL PRODUCT MANAGEMENT @brandonhundt2
- 1:38OVERVIEW
- 4:215 YEARS ON DRUPAL 7
- 4:51UNEXPECTED GROWTH
- 5:41PERFORMANCE ISSUES
- 7:13CUSTOM PLATFORM
- 8:12THE RESET
- 9:06NEW PATHS FORWARD
- 9:49WEIGHING OUR OPTIONS
- 10:49WHAT WE'VE DONE
- 11:32HOMEPAGE & NAV
- 13:55ROBUST FRONTEND
- 14:11COMPONENT LIBRARY!!!
- 15:44NEXT JS FRONTEND
- 16:55IT WORKS!
- 17:0840% FASTER!
- 17:29MITIGATED RISK
- 18:24NO MIGRATION
- 19:13MODERN FRAMEWORKS
- 19:44SATISFIED STAKEHOLDERS
- 19:55CHALLENGES
- 20:29TIME IS
- 22:07LEARNING CURVE
- 22:35PRIORITIZATION
