Intermediate Laravel

0
Level

Intermediate

Language

Access

Paid

Certificate

Paid

Made your way through Laravel 5 Fundamentals yet? Nice job! It’s time to dig a bit deeper. In this series, not only will we review higher level features, such as using the Scheduler component and dispatching commands and events, but we’ll also often peak behind the scenes to figure out how each piece fits together.

Add your review

Scheduling Commands and Tasks

For any application, you’ll need to trigger certain tasks at various points in time. Every month, or every day, or even every half-hour. Traditionally, this can be a confusing task, but not with Laravel!

Scheduling: Behind the Scenes

The best way to become a better coder is to read a lot of code. Let’s do that together in this lesson. Now that you understand the fundamentals of scheduling tasks, we’ll flex our muscles and dig into the underlying source code to figure out how this all works!

The Power of Eventing

Laravel offers an incredibly powerful eventing system. Likely more powerful than you’re aware. Over the course of the next two lessons, we’ll both review the essentials and dig into the underlying source code that orchestrates Laravel’s event handling.

Eventing: Behind the Scenes

Now that we understand the essentials of eventing in Laravel, let’s once again peel back the curtain and figure out how all of this works behind the scenes.

Illuminate Contracts

Laravel 5 includes a comprehensive set of contracts, or interfaces, for all of its various components. This means, for the projects where it makes sense to seek maximum decoupling, never before has such a task been easier.

Containers, Aliases, and Contracts: Behind the Scenes

Based on our learning from the previous episode, it seems as if multiple keys point to the same binding within Laravel’s service container. How exactly does this work? Let’s once again peel back the curtain, and figure this out.

HTTP Middleware

Middleware offers us a very easy way to manage and filter incoming requests.

Middleware Parameters

Now what about when you need a little more granularity? Sure, we can filter requests to only allow the users who are subscribed to our application, but what if we want to drill down further and specify that they must be subscribed to a particular plan? Well, in these cases, we may leverage middleware parameters.

Database Seeding and Model Factories

When you begin a new project, you’ll often want to create any number of sample records in your database. Let me show you how easy this process is, thanks to table seeder classes, and model factories (new to Laravel 5.1).

The Seeds of Database Seeding

Like we’ve been doing often in this series, let’s figure out how this whole database seeding thing is orchestrated

from the Artisan command, itself, all the way up to the main `Seeder` class. Remember: if you want to be a better coder, read a lot of code.

Dispatching Jobs

Think of a job as an instruction, typically queued, that you want to give your application. Rather than throwing all this logic in your controller, assign it a readable name, assign your dependencies, and queue it up!

How to Write Custom Blade Directives

From time to time, you’ll want to create custom Blade directives for your views. In the past, this wasn’t the most enjoyable experience

however, today. it’s quite a bit simpler!

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Intermediate Laravel”

×

    Your Email (required)

    Report this page
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.