Run Time 19:17Free
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.
Run Time 8:29
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.
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?
Run Time 7:35
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.
Run Time 9:32
In this lesson, we'll tackle a number of different things. Mostly, though, the name of the game is cleanup.
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.
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.
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.
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).