⌚ Timestamps: 00:00 Introduction 00:51 Definition of Facade 03:15 Example of in-built Facade 06:08 Create a custom Facade 11:42 Aliases for Facades 13:41 Create our own implementation of Facade 18:54 Real-Time Facades
Teaching requires you to understand what needs to be understood and this is what separeted you from others outhere. You explain to the basics details. Thank you.
Thanks for your videos. Recently I have followed your Laravel passport OAuth 2.0 videos. It was a great video. I was looking for something like it to create an SSO (Sign Sign-On) for multiple laravel projects (1st Party). But could not figure it out. Then I realized OAuth is actually for authorization, not authentication (I can be wrong). So, I am pretty puzzled regarding it. If you have a solution/idea for SSO for the first party laravel project, please make a video or blog about it. It will be helpful for many others. Or at least show some directions if you are aware.
With the help of the facade, you can chain the function or call it statically. For example `Model::where()->first()` `Model::latest()->where()->first()` In this example, the `where()` method is called statically as well as chained. But in the case of the static method, you cannot chain it.
⌚ Timestamps:
00:00 Introduction
00:51 Definition of Facade
03:15 Example of in-built Facade
06:08 Create a custom Facade
11:42 Aliases for Facades
13:41 Create our own implementation of Facade
18:54 Real-Time Facades
Where have you been? You are the best Laravel trainer I've found so far! You explain many untouched and advanced topics in an easy but solid approach.
I am glad you like my content. I was busy with some other things. Now I will try my best to upload videos regularly.
So far, this is the almost complete tutorial I've bumped into about Laravel Facades for beginners. Thanks for sharing.
Before I hate Facade, but now I love Facade. I like your method of teaching.
Thank you! Cheers!
Teaching requires you to understand what needs to be understood and this is what separeted you from others outhere. You explain to the basics details. Thank you.
Thank you
Thanks for the videos, it helps a lot understanding the concept.
Glad to hear that!
Brilliant, you just got yourself a follower.
Glad you liked it
Really helpful. Now I understood how Facades and what it is..
Great to hear!
Nice content as always. Please keep making videos on how Laravel work under the hood.
Thanks, will do!
Very good tutorial. Thank you
Thank you
Thanks for your videos. Recently I have followed your Laravel passport OAuth 2.0 videos. It was a great video. I was looking for something like it to create an SSO (Sign Sign-On) for multiple laravel projects (1st Party). But could not figure it out. Then I realized OAuth is actually for authorization, not authentication (I can be wrong). So, I am pretty puzzled regarding it. If you have a solution/idea for SSO for the first party laravel project, please make a video or blog about it. It will be helpful for many others. Or at least show some directions if you are aware.
Thank you for this video.
Really awesome video tutorial.
Thank you! Cheers!
Thank a lot. Its really useful for me..
You are welcome.
Thank you bro
Welcome
nice to learn
keep it up
Thank you
How did you customize VS code for Laravel development?
do you kno how i can make 2fa required on jetstream and remove the revovery codes.
Jetstream is using Laravel Fortify for 2FA. So you should watch this video. It may help you.
th-cam.com/video/rDCqS277dVQ/w-d-xo.html
Initially, I think facade is like helper function
Just import any class with backslash in start etc import \App\Services\SomeService; will convert it to facade automatically
You don't need to do anything else. If you don't want to import every time just edit config/app.php and add your service class there
what? the whole facade is just to make static method????? why cant we write "static" on the method is sufficient ?
With the help of the facade, you can chain the function or call it statically. For example
`Model::where()->first()`
`Model::latest()->where()->first()`
In this example, the `where()` method is called statically as well as chained.
But in the case of the static method, you cannot chain it.