Exercise 1: Why This Is the Right Point for DRF — Possible Solution ==================================================================== WHAT CHANGED SINCE CHAPTER 8 ------------------------------ Chapter 8 declined to use DRF because at that point there was only one genuinely JSON-oriented feature (search), and building out DRF's full serializer/viewset machinery for a single simple endpoint wasn't worth the added structure. By this chapter, there are now four features that are all genuinely JSON-shaped and would benefit from shared serialization and validation - search, add-item, mark-used, and recipe lookup - plus Chapter 5's own full-page-reload cost still sitting unresolved. With that many interactive features accumulated, DRF's overhead is now spread across genuinely enough real work to be worth adopting. WHY THIS IS A THRESHOLD DECISION, NOT AN ARBITRARY ONE ------------------------------ The chapter frames both the Chapter 8 decision and this chapter's own decision as correct answers to the same underlying question - "does the current amount of JSON-facing work justify DRF's overhead?" - asked at two different points in the app's growth. One endpoint didn't justify it; several genuinely related ones do. WHY THIS WORKS AS AN ANSWER ------------------------------ It correctly identifies the accumulation of multiple genuinely JSON-oriented features (not just search) as what changed since Chapter 8, and correctly frames the decision to introduce DRF now as a threshold being crossed, not an arbitrary chapter-number-driven choice.