Understanding Laravel Architecture | Learn Laravel The Right Way

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 68

  • @rafapapaa8641
    @rafapapaa8641 12 днів тому

    Absolutely brilliant dive into the Laravel architecture! Well explained content, I am very glad that I found Gio materials, as he does tremendous job. Contgrats to the author of this channel!

  • @abbottabbott1120
    @abbottabbott1120 2 місяці тому +6

    It's so exciting slowly tip-toeing into Laravel like this. I really loved how detailed but clear your whole PHP course was, I can't wait to get into every little detail of Laravel in the same way. Thank you so much for doing this!

  • @Zubbee
    @Zubbee 18 днів тому

    Hi Gio, so when I looked into Laravel myself earlier, I was totally intimidated by all these things. I tried to figure them out but dropped out at some point. Thank you for taking us through this. I absolutely want to understand it more. I kept pausing the lesson, and I need to watch it again

    • @ProgramWithGio
      @ProgramWithGio  10 днів тому

      Yup, can take some time to fully grasp it

  • @JailadinShaik8897
    @JailadinShaik8897 Місяць тому

    so exciting on diving into Laravel like this. nowhere found this level clear and detail explanation

  • @tanzimibthesam5861
    @tanzimibthesam5861 Місяць тому +1

    Probably the easiest Request Life Cycle Video I have ever seen though the new directory has simplified it a lot

  • @sashoelectrodriver
    @sashoelectrodriver Місяць тому

    Exciting, been following you since the php series. I also appreciate you slowing down when explaining, to me the tempo is much better now. Kudos to you man, looking forward to the next videos.

  • @karam0101
    @karam0101 Місяць тому +1

    Gio is the best, period.

  • @ahmad-murery
    @ahmad-murery 2 місяці тому

    I like the pace of this series.
    Thanks Gio!

  • @JT-mr3db
    @JT-mr3db 2 місяці тому +1

    Very well done. This demystifies The magic a lot.

  • @madcoderz7206
    @madcoderz7206 Місяць тому

    This is so so good!

  • @amitkumargupta3715
    @amitkumargupta3715 Місяць тому

    Great Explanation! This is true knowledge.

  • @klerfe85
    @klerfe85 Місяць тому

    The best teacher 🎉

  • @dannydelgado9820
    @dannydelgado9820 2 місяці тому

    Great video quality! Thank You!

  • @keremardicli4013
    @keremardicli4013 2 місяці тому +1

    What a perfect start...

  • @codecommitter
    @codecommitter 3 дні тому

    Man you are awesome.love from Pakistan

  • @jonathansmithd
    @jonathansmithd Місяць тому

    Thank you so much for lessons

  • @fakerealnews1
    @fakerealnews1 2 місяці тому

    Great start, thank you!

  • @lairotuT-Tutorial
    @lairotuT-Tutorial 2 місяці тому +1

    Wow! Great stuff! Thats exactly what I did after I installed laravel and before I started to insert any code. But for sure I did not understand 10% of what I understood with your guided tour! Thanks Gio! There are still some points that make me wonder. Some feel for me like 'unneccessary' duplicated code others just feel weird.
    I understand why you program a function or method with the only task to forward a request in a project but in a 'ready' to use framework it makes no real sense to me. Is it meant to serve an entry point for the framework user to include own middleware extensions in these cases? I find such examples all through laravel. My only idea was that it might include an extra portion of security but I hope you will explain this later in this series 🙂 I'm so excited to follow the next 100 parts of the series!

    • @ProgramWithGio
      @ProgramWithGio  2 місяці тому

      Thank you. If you are referring to a router yes its meant to direct the traffic to the right action. Better separation of concerns.

    • @lairotuT-Tutorial
      @lairotuT-Tutorial 2 місяці тому

      @@ProgramWithGio no, with routers there are usually many 'forwardings' and that makes sense as you delegate the routing to a class.
      What I meant are such things like @ 4:22
      Inside a class the one method calls:
      $this->bootstrappers()
      and then you have the bootstrappers method that has the heavy weight and only duty to:
      return $this->bootstrappers;
      Why not just access the argument directly from the method bootstrap()? In my naive brain there would not really be a benefit as you are inside the same class, is there?
      Does it make a difference to call a protected method or use a protected argument?
      #confusesme 😆

  • @SimoneRicco-ko7or
    @SimoneRicco-ko7or 2 місяці тому +3

    Is there a diagram by any chance that shows the whole process of calls and the paths you showed? Thanks so much for your videos tho 🙏🤓

    • @ProgramWithGio
      @ProgramWithGio  2 місяці тому +4

      It would be a great exercise to draw this diagram to be honest. What I've explained in the video and shown the process can easily be translated into diagram. Give it a try, it will make more sense & is good practice

  • @tahmidziko
    @tahmidziko 2 місяці тому

    Just Just And Just Love it.. what an explanation. Awesome. do u have any service provider and container specific content or video brother?

  • @obadaalzidi6452
    @obadaalzidi6452 2 місяці тому +1

    Hi Gio, Thanks for this great video.
    I'm woundering why the Application class extends the Container class ?, wouldn't the composition choice here make more sense ?
    I can't figure out if the Application and Container relation is a (is -> a) relation.
    Another thing, I was woundering why the Application class is not a Singelton class ?, but when you mentioned the console I've figured out that we might have 2 instances of the Application class created within the same time (one for Http requests and the other for console commands).

    • @ProgramWithGio
      @ProgramWithGio  2 місяці тому

      I dont know the reasoning behind such decisions but Taylor is a lot smarter than me so I trust his reasoning along with his team. Application is kind of a service container, it basically implies that the application is essentially a specialized version of a container. Laravel can easily integrate the service container functionality throughout the framework without needing to duplicate code or add more layers of abstraction.
      If instead of inheritance, Application had a Container as a property (composition), then you would need to manage this container separately. This could create more complexity because you'd be delegating container behavior to another class. Would this be a better approach? Honestly, it depends on what the goal was, if Application is meant to be a service container then its fine using inheritance.

  • @MahmoudReyad
    @MahmoudReyad 2 місяці тому

    Keep Going 🥰

  • @عليواكد-ب5ذ
    @عليواكد-ب5ذ 2 місяці тому

    thanks man

  • @Flo-mz8ct
    @Flo-mz8ct 2 місяці тому

    Thanks man

  • @AsoASdiq
    @AsoASdiq Місяць тому

    ❤❤

  • @IMraN-yp4xi
    @IMraN-yp4xi Місяць тому

  • @JosephCodette
    @JosephCodette Місяць тому

    thank you for the reassurance but I still feel I need to review PHP the right way here and there😅

    • @ProgramWithGio
      @ProgramWithGio  Місяць тому

      And that's ok, if you feel like you have a gap or something doesnt make sense, refer back to PHP series. It can work

  • @amjad.7amoda
    @amjad.7amoda 2 місяці тому

    Hello Gio . I hope you do well.
    The Kernal.php File in Laravel 11 is not exist anymore , what is the alternative of it .?
    For the middleware i use the bootstrap/app.php .

    • @karam0101
      @karam0101 Місяць тому +2

      The Kernel.php file still exists but is no longer published directly in your project’s directory by default, as it was in previous versions.

    • @ProgramWithGio
      @ProgramWithGio  Місяць тому +1

      yes like @karamm3353 mentioned its within vendor as shown & explained in the video

  • @nehalkamal6490
    @nehalkamal6490 2 місяці тому

    Great

  • @4Scholars
    @4Scholars Місяць тому

    i am still trying to understand...

    • @ProgramWithGio
      @ProgramWithGio  Місяць тому

      Feel free to ask questions. It can take some time to fully grasp it

  • @thenightwolf224
    @thenightwolf224 2 місяці тому +1

    i mean the video is amazing but you gotta breathe a little bit of air you're talking too fast 😂

    • @ProgramWithGio
      @ProgramWithGio  2 місяці тому +4

      Honestly this is as slow as I can go. I cant talk any slower, it's just the way I talk to be honest 😂

    • @jorgemartinez1335
      @jorgemartinez1335 2 місяці тому +1

      @@ProgramWithGio I actually binge on your PHP series BECAUSE of the way you talk, love it. Thanks for all this great work 🙏

    • @Наталья-р4д9ф
      @Наталья-р4д9ф 2 місяці тому

      Спасибо. Я из России. Мне очень нравится, как вы обьясняете. Программирование я не понимаю, но хочется понять. Еще мечтаю учить Английский язык. А у вас все сразу, и Английский и программирование. Я только начала изучать тестирование. Для меня это волшебство.​@@ProgramWithGio

  • @thenightwolf224
    @thenightwolf224 2 місяці тому

    dont cut the audio like that