Notification bell This series has been archived.
A series is marked as archived when the content is no longer up-to-date or relevant to most viewers.
Back Button Frameworks
Digging In

Digging In

So you're at the initial stage, where you've toyed with Laravel, but haven't quited dug in yet? Great! Let's build a little tool together, as an exercise.

Beginner
9 episodes
1h 36m
9
Latest Episode in This Series

Added 5 years ago

Completing Tasks

As we slowly begin to finish up this demo project, we need to take some time to...

Watch
Digging In

Digging In

So you're at the initial stage, where you've toyed with Laravel, but haven't quited dug in yet? Great! Let's build a little tool together, as an exercise.

Begin
9
Latest Episode in This Series

Added 5 years ago

Completing Tasks

As we slowly begin to finish up this demo project, we need to take some time to...
Watch

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg'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.
    1. Free Episode Run Time 19:17

      So you're at the initial stage, where you've toyed with Laravel, but haven't quite dug in yet? Great! Let's build a little app together.

    2. Let's take just a moment (and I mean "moment") to tweak the design to be somewhat more friendly. Next, we'll discuss the power of migrations and seed files.

    3. Run Time 11:32

      Moving along, we'll now discuss relationships. If a task belongs to a user, and a user can have many tasks, how can we represent that with Laravel?

    4. Ever heard of the N + 1 dilemma? Well, you'll see it first-hand in this lesson, along with how to fix it. Also, along the way, we'll add support for displaying Gravatars next to tasks.

    5. Run Time 9:32

      In this lesson, we'll tackle a number of different things. Mostly, though, the name of the game is cleanup.

    6. Run Time 12:02

      In this lesson, we'll build a form to create new tasks. In particular, we'll learn how to, when filling out the form, specify which user we wish to assign the task to.

    7. Run Time 12:16

      We can't allow users to create new tasks, without first filtering the form data through some form of validation! Get ready, because we'll tackle a number of topics in this lesson, including the single responsibility principle, service classes, custom exceptions, and more.

      If this episode feels a bit overwhelming, that's okay. It's just a teaser. In the next lesson, we'll review a different approach: validation with model events.

    8. Run Time 7:03

      In the previous lesson, I demonstrated a high-level way to manage your validation. We used services and custom exceptions to handle the flow. In this lesson, however, we'll back-track and try a different approach: hooking into model events.

      As with many things in the coding world, there are multiple ways to achieve a particular end goal.

    9. Run Time 8:20

      As we slowly begin to finish up this demo project, we need to take some time to allow users to complete tasks (and style those tasks accordingly).