Laravel Facades: What are Facades used in Laravel & how to use them in App with examples?

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024

ความคิดเห็น • 36

  • @QiroLab
    @QiroLab  2 ปีที่แล้ว +1

    ⌚ 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

  • @disguisedgirl
    @disguisedgirl 2 ปีที่แล้ว +4

    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.

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      I am glad you like my content. I was busy with some other things. Now I will try my best to upload videos regularly.

  • @ghaleda1785
    @ghaleda1785 2 ปีที่แล้ว

    So far, this is the almost complete tutorial I've bumped into about Laravel Facades for beginners. Thanks for sharing.

  • @jeesambo
    @jeesambo ปีที่แล้ว

    Before I hate Facade, but now I love Facade. I like your method of teaching.

    • @QiroLab
      @QiroLab  8 หลายเดือนก่อน

      Thank you! Cheers!

  • @digitalgenre7194
    @digitalgenre7194 2 ปีที่แล้ว

    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.

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      Thank you

  • @negi3625
    @negi3625 7 หลายเดือนก่อน

    Thanks for the videos, it helps a lot understanding the concept.

    • @QiroLab
      @QiroLab  7 หลายเดือนก่อน +1

      Glad to hear that!

  • @macrotom1644
    @macrotom1644 6 หลายเดือนก่อน

    Brilliant, you just got yourself a follower.

    • @QiroLab
      @QiroLab  6 หลายเดือนก่อน

      Glad you liked it

  • @neerajsinghtangariya2587
    @neerajsinghtangariya2587 2 ปีที่แล้ว

    Really helpful. Now I understood how Facades and what it is..

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      Great to hear!

  • @brainyworld2184
    @brainyworld2184 2 ปีที่แล้ว

    Nice content as always. Please keep making videos on how Laravel work under the hood.

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      Thanks, will do!

  • @michaelplichart3224
    @michaelplichart3224 2 ปีที่แล้ว

    Very good tutorial. Thank you

    • @QiroLab
      @QiroLab  8 หลายเดือนก่อน

      Thank you

  • @JamiulBari
    @JamiulBari 2 ปีที่แล้ว

    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.

  • @tousifrafat
    @tousifrafat 2 ปีที่แล้ว

    Thank you for this video.

  • @zhasan66
    @zhasan66 2 ปีที่แล้ว

    Really awesome video tutorial.

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      Thank you! Cheers!

  • @matthelosh
    @matthelosh 2 ปีที่แล้ว

    Thank a lot. Its really useful for me..

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      You are welcome.

  • @jijeshc
    @jijeshc 2 ปีที่แล้ว

    Thank you bro

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      Welcome

  • @muhammadsananahmad3124
    @muhammadsananahmad3124 2 ปีที่แล้ว

    nice to learn
    keep it up

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      Thank you

  • @pjr
    @pjr 2 ปีที่แล้ว

    How did you customize VS code for Laravel development?

  • @luuktimmermans3684
    @luuktimmermans3684 2 ปีที่แล้ว

    do you kno how i can make 2fa required on jetstream and remove the revovery codes.

    • @QiroLab
      @QiroLab  2 ปีที่แล้ว

      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

  • @arshahin9803
    @arshahin9803 2 ปีที่แล้ว

    Initially, I think facade is like helper function

  • @1mr4n4li
    @1mr4n4li 2 ปีที่แล้ว

    Just import any class with backslash in start etc import \App\Services\SomeService; will convert it to facade automatically

    • @1mr4n4li
      @1mr4n4li 2 ปีที่แล้ว

      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

  • @ask4funs_solution
    @ask4funs_solution 9 หลายเดือนก่อน

    what? the whole facade is just to make static method????? why cant we write "static" on the method is sufficient ?

    • @QiroLab
      @QiroLab  8 หลายเดือนก่อน

      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.