Back to the Learning

Beep Beep. Subscription Required.

Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

About This Episode

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.

Published on Oct 17th, 2019.

Discuss It


  1. Section 1 The Series Page

    1. Series Chapters

      EPISODE 1 16:20
  2. Section 2 Widgets

    1. Widget Workshop

      EPISODE 2 23:17
Back to Series Button