Back to the Learning

Beep Beep. Subscription Required.

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

Your Teacher | Jeffrey Way's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on Oct 17th, 2019

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.

Discuss It


  1. Section 1 The Series Page

  2. Section 2 Widgets

  3. Section 3 Content Classification

  4. Section 4 Tricky CSS Effects

    1. Scrolling CSS Shadows

      Free Episode 16:54
Back to Series Button