Advanced Laravel: Service Container & Providers (Primitives)

  Рет қаралды 3,928

Jordan Dalton

Jordan Dalton

Жыл бұрын

In this video we talk about using primitives via Laravel's service container.

Пікірлер: 15
@fordprefect5040
@fordprefect5040 Жыл бұрын
While you explained the component well, it shows also a good example for the bad sites of Laravel. With Laravel there are many ways to do things "magically" or hidden from the developer who wants to understand the implemantation by reading the code. Looking just at the controller, it is incomprehensible where $timezone comes from. Filling values into the container somewhere and read from it in an other file is bad style. It coerces every college to know all ways that a framework offers. Especially supervisors can not know every fancy trick of all frameworks. Therefore, the possibilities for "magic" should only be used if that provides a BIG advantage, NOT just because it's possible. In your example it would be better to simply set the attribute value in the controller. One line, simple to understand. The most important thing about containers is that while they are good for a few situations they should be used as little as possible. So, please do not only teach how to use components of a framework but also when to use them.
@borakayalar
@borakayalar 6 ай бұрын
Perfect you opened and cleared my mind
@JohnnyBigodes
@JohnnyBigodes Жыл бұрын
Love the service container... Would love to see more of it.
@Daltoncast
@Daltoncast Жыл бұрын
I have a couple more videos planned for the topic 😀
@hussain4real
@hussain4real Жыл бұрын
Love the content, a quick reminder you misspelled primitives
@Daltoncast
@Daltoncast Жыл бұрын
Thanks. Great catch! I’ve updated it.
@SuvroImran
@SuvroImran Жыл бұрын
❤❤ great 🎉🎉🎉 upload more content like this.
@emstudios14
@emstudios14 Жыл бұрын
You just saved a life, great 👍 content 👌
@Daltoncast
@Daltoncast Жыл бұрын
Thank you so much. I’m glad it helped.
@matinlh644
@matinlh644 8 ай бұрын
Great content, actually you made very unique and advanced content👌🏻
@Daltoncast
@Daltoncast 8 ай бұрын
Thank you so much for this comment. It made my day 😀
@matinlh644
@matinlh644 8 ай бұрын
@@Daltoncast Love you man ❤️
@coder236
@coder236 2 ай бұрын
nice video dude keep up the work
@Daltoncast
@Daltoncast 2 ай бұрын
Thank you 😀
@iteranq
@iteranq 8 ай бұрын
Hello Dalton, your videos are amazing! would you adjust your mic level, the audio level is so loooow
Laravel. Сервисы, контракты и внедрение зависимостей
29:18
Lectoria. Обучение веб-разработке.
Рет қаралды 21 М.
Laravel 6 Advanced - e1 - Service Container
23:27
Coder's Tape
Рет қаралды 272 М.
100❤️
00:20
Nonomen ノノメン
Рет қаралды 65 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 3,6 МЛН
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
DELETE TOXICITY = 5 LEGENDARY STARR DROPS!
02:20
Brawl Stars
Рет қаралды 14 МЛН
PHP For Beginners, Ep 35 - Make Your First Service Container
19:23
Refactoring to action pipelines in Laravel
1:25:03
Michael Dyrynda
Рет қаралды 8 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 31 М.
Laravel 10. Service Container, Service Providers и Facades в Laravel
24:52
Андрей Кудлай
Рет қаралды 3,4 М.
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 166 М.
Laravel Service Providers: All You Need to Know
13:13
Laravel Daily
Рет қаралды 63 М.
Senior Angular Developer Interview (theory)
41:57
WeCoded
Рет қаралды 6 М.
Laravel's secret weapon: macros (watch me code)
23:46
Aaron Francis
Рет қаралды 18 М.
Découverte de Laravel 10 : Le service provider
16:28
Grafikart.fr
Рет қаралды 6 М.
100❤️
00:20
Nonomen ノノメン
Рет қаралды 65 МЛН