Ep03 - Laravel Service Container and Service Provider

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

КОМЕНТАРІ • 50

  • @AbderrahmanFodili
    @AbderrahmanFodili Рік тому +4

    this channel is a gold mine . thanks a billion my friend . I've been looking all over youtube for laravel related content that explains basic features in details for intermediate devs. I was tired of watching the same basics again and again but you always take things a step further and go deeper into the concepts of Laravel

  • @AbhimanyuNaikareWebDeveloper
    @AbhimanyuNaikareWebDeveloper 3 роки тому +10

    I just wanna say, after years of doubts, u made the basics clear in programming :) Thanka

  • @leonvanrijswijk8409
    @leonvanrijswijk8409 3 роки тому +6

    Thanks. I especially like the drawings for visual understanding

    • @Acadeaio
      @Acadeaio  3 роки тому

      Glad you like them!

  • @idoschacham6276
    @idoschacham6276 10 місяців тому

    Thanks for the clear and thorough explanations

  • @rezazimohamedabdessamed5465
    @rezazimohamedabdessamed5465 3 роки тому +1

    Man, you are special, especially your draws and final resume. Keep sharing Laravel videos!

    • @Acadeaio
      @Acadeaio  3 роки тому +1

      There are a lot more to come, stay tuned!

  • @technicalesson
    @technicalesson 3 роки тому +1

    I like the way you have explained everything. Thanks

  • @wideningcarrot6
    @wideningcarrot6 2 роки тому +1

    Mate you're an excellent teacher.

    • @Acadeaio
      @Acadeaio  2 роки тому

      Thanks mate, glad you enjoyed it!

  • @beyondsky3857
    @beyondsky3857 Рік тому

    Just awesome....Beautifully explained

  • @kywei7485
    @kywei7485 Рік тому

    Very clear explanation, thank you very much!

  • @ecommercetechbuild1354
    @ecommercetechbuild1354 2 роки тому

    Excellent explanation of the core concept. Thanks a lot.

  • @jorgewandersantanaurena422
    @jorgewandersantanaurena422 8 місяців тому

    Thanks for the video. I really enjoyed it.

  • @squattingnomad6298
    @squattingnomad6298 2 роки тому +1

    You are gifted for sure. Can you explain the difference between Service Container and Single Action Class? Specifically, how are actions registered and implemented?

    • @Acadeaio
      @Acadeaio  2 роки тому

      To me actions are just PHP classes, used in some software pattern. It is not part of Laravel's architecture and you can simply bind them inside your service provider if you wish.

  • @TheChyamp
    @TheChyamp 3 роки тому

    Best vid I've seen so far

    • @Acadeaio
      @Acadeaio  3 роки тому

      Thanks a lot for your comment! It means a lot to me.

  • @dibbyo456
    @dibbyo456 2 роки тому

    This is the best explanation.

    • @Acadeaio
      @Acadeaio  2 роки тому +1

      Thanks a lot for the comment Harry! It really helps me to keep going

  • @technicalesson
    @technicalesson 3 роки тому

    Please create more such type of videos of confusing tropics of Laravel.

    • @Acadeaio
      @Acadeaio  3 роки тому

      More videos are coming, stay tuned!

  • @WhiteSiroi
    @WhiteSiroi 2 роки тому

    thank you so much, very helpful

  • @ivnstudios6135
    @ivnstudios6135 3 роки тому +1

    thanks for the video

  • @weradsaoud2018
    @weradsaoud2018 2 роки тому

    thank you

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

    Great !

  • @ruwanb
    @ruwanb 2 роки тому

    Awesome , Thank you so much.

  • @memack101
    @memack101 2 роки тому

    Thank you.

  • @damilaresamuelfagbenro1881
    @damilaresamuelfagbenro1881 2 роки тому +1

    After injecting Map and Statallite class inside the GeoLocation class using the constructor and creating a search method, it is important to create a service provider to resolve both?

    • @Acadeaio
      @Acadeaio  2 роки тому

      up to you, you can totally rely on laravel's automatic resolution if you are not adding new features :)

    • @islamelsayedmahmoud3419
      @islamelsayedmahmoud3419 Рік тому

      @@Acadeaio i didn't get how adding new features can be easier with service providers approach.. if anyone can explain to me

    • @islamelsayedmahmoud3419
      @islamelsayedmahmoud3419 Рік тому

      i found that automatic resolution is often sufficient for many use cases but I need someone to enlighten me what are cases that it will not be sufficient, (regardless binding an interface)

  • @maxzak5310
    @maxzak5310 Рік тому

    good stuff

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

    Good vid

  • @artbotguy
    @artbotguy 2 роки тому

    Thanks, bro. Большое спасибо!

  • @thinhbui9965
    @thinhbui9965 3 роки тому +1

    I prefer the drawing than listen to coding. Hope you can explain in that way (drawing) more.

    • @Acadeaio
      @Acadeaio  3 роки тому

      Thanks for the feedback, will do that whenever possible.

  • @omaviva8657
    @omaviva8657 3 роки тому

    OMG, you are the best thank you

  • @ibrahimyakut328
    @ibrahimyakut328 2 роки тому

    Thanks a lot sir :)

  • @zcmdzpp127
    @zcmdzpp127 3 роки тому

    Really good…

  • @hiajayy
    @hiajayy 3 роки тому

  • @marufmazumder1447
    @marufmazumder1447 2 роки тому

    What does it mean by "resolving a service"? Can anyone enlighten me?

    • @Acadeaio
      @Acadeaio  2 роки тому

      it means getting an instance of a service from the container, in other words, instantiating a service (aka a class)

  • @Muhammed-nani964
    @Muhammed-nani964 Рік тому

    When I do app(\App\Service\Geolocation\Geolocstion::class); at first it says class not found then it says class name already in use and the error point to the name of geolocation class 😢 anyone can help ?
    Fuck I wasted so much time and I only forget to say

  • @ousssika5359
    @ousssika5359 Рік тому

    when i add app(app(App\Providers\GeolocationServiceProvider::class)) on tinker i get that error message some help me i m using laravel 9 Unresolvable dependency resolving [Parameter #0 [ $app ]] in class Illuminate\Support\ServiceProvider.
    > app(App\Providers\GeolocationServiceProvider::class)

    • @Acadeaio
      @Acadeaio  Рік тому +1

      perhaps try to run composer dump autoload