لاراول

تشریح لاراول

Laravel Explained

In this series, for each episode, I'll answer one Laravel-related question that has cropped up in the Laracasts community. Who knows, maybe your question will be the next one I answer in video form!

سطح متوسط 8 جلسه آموزشی 01:32:00 ساعت
01
قسمت 1

Explain How a Facade Works Under the Hood

First up in this series, we'll answer a question related to the Gate facade, and how it locates the appropriate underlying instance to resolve out of Laravel's service container.

02
قسمت 2

Explain Real-Time Facades From the Inside-Out

Laravel's real-time facades feel like magic - in the best possible way. You try it out, it works, and you think to yourself, "Huh...how on earth did they do that?" Well, I'll show you exactly how it works. We'll even make our own custom facade genera...

03
قسمت 3

Explain PHP Generators

PHP generators can be confusing to understand. Why and when would I reach for them? The easiest answer to this question is when you're working with very large datasets. A generator allows us to circumvent memory limit concerns by iterating over data...

04
قسمت 4

Explain How a Route Returns a Response

You may know that a route's handler can return a variety of different data types. For example, to list only a few, we could return a Response instance, or a JsonResponse, or a simple string, or an array, or an Eloquent model, or an object with a __to...

05
قسمت 5

Explain How the View Factory Works

Many of your controller actions likely return a call to the view() helper function. But have you ever researched what it does? As it turns out, the answer is "quite a lot!" Think about it, your Blade views must be compiled to general PHP, cached for...

06
قسمت 6

Explain How to Group Records By Relative Dates

If you visit your Laracasts profile page, under the "My Feed" section, you'll find a list of the latest Laracasts lessons, grouped according to a relative date. For example, "today," "this week," "last week," and older. In this episode, I'll show you...

07
قسمت 7

Explain Laravel Macros

If you browse the Laravel codebase, you'll find countless references to a trait called Macroable. This trait allows you to extend the public interface of a class in real-time. In this episode, we'll review how to use this trait in your own projects,...

08
قسمت 8

پیاده سازی محدودیت دانلود برای هر کاربر

Today's question comes courtesy of Sam, who would like to know how to limit the number of downloads each user in their application can initiate. This question focuses on downloads, however, the technique we use for the solution can of course be appli...

دوره در حال اجرا

این دوره هنوز به پایان نرسیده است و در آینده درس های دیگری به آن افزوده خواهد شد.