It's a bit overdue, but I need to add chapter headings to each series here at Laracasts. Come along as I use TDD to drive out this small change to the codebase. We might say a video belongs to a series, but also to a chapter within that series. Together, let's figure out how.
Have you ever had a controller action that, over time, grows and grows as you declare and fetch all necessary data for each new section of the page? Very quickly, things can become messy. Lately, I've been thinking about an alternative, widget-based approach for structuring portions of my views. Come along as I build this useful new
Widget class from scratch.
View the source code for this episode on GitHub.
*Series still in development. Check back often for updates.