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
You are gifted for sure. Can you explain the difference between Service Container and Single Action Class? Specifically, how are actions registered and implemented?
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.
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?
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)
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
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)
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
I just wanna say, after years of doubts, u made the basics clear in programming :) Thanka
If i may pls add can i be part of your team? would love to learn n work. Thanks
Really glad to hear that!
Thanks. I especially like the drawings for visual understanding
Glad you like them!
Thanks for the clear and thorough explanations
Man, you are special, especially your draws and final resume. Keep sharing Laravel videos!
There are a lot more to come, stay tuned!
I like the way you have explained everything. Thanks
Mate you're an excellent teacher.
Thanks mate, glad you enjoyed it!
Just awesome....Beautifully explained
Very clear explanation, thank you very much!
Excellent explanation of the core concept. Thanks a lot.
Thanks for the video. I really enjoyed it.
You are gifted for sure. Can you explain the difference between Service Container and Single Action Class? Specifically, how are actions registered and implemented?
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.
Best vid I've seen so far
Thanks a lot for your comment! It means a lot to me.
This is the best explanation.
Thanks a lot for the comment Harry! It really helps me to keep going
Please create more such type of videos of confusing tropics of Laravel.
More videos are coming, stay tuned!
thank you so much, very helpful
thanks for the video
thank you
Great !
Awesome , Thank you so much.
Thank you.
You're welcome!
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?
up to you, you can totally rely on laravel's automatic resolution if you are not adding new features :)
@@Acadeaio i didn't get how adding new features can be easier with service providers approach.. if anyone can explain to me
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)
good stuff
Good vid
Thanks, bro. Большое спасибо!
I prefer the drawing than listen to coding. Hope you can explain in that way (drawing) more.
Thanks for the feedback, will do that whenever possible.
OMG, you are the best thank you
Glad it helped!
Thanks a lot sir :)
Really good…
❤
What does it mean by "resolving a service"? Can anyone enlighten me?
it means getting an instance of a service from the container, in other words, instantiating a service (aka a class)
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
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)
perhaps try to run composer dump autoload