No video

NestJs - Service Providers & Dependency Injection [03]

  Рет қаралды 4,045

Computerix

Computerix

Күн бұрын

Пікірлер: 16
@MohamedSaqr
@MohamedSaqr 8 ай бұрын
Excellent explanation. Keep going. 👌
@aryanrahman3212
@aryanrahman3212 3 ай бұрын
Very good explanation, may God do good to you!
@Computerix
@Computerix 3 ай бұрын
Thanks! God bless you
@piyumalchandrarathna5169
@piyumalchandrarathna5169 2 ай бұрын
great explanation.❤
@mahaburrahman1666
@mahaburrahman1666 7 ай бұрын
Greate explanation, take love from heart
@Computerix
@Computerix 7 ай бұрын
Thanks !
@asharma741
@asharma741 Жыл бұрын
very well explained!!😀
@dd3715
@dd3715 Жыл бұрын
thank bro, I really needed this 🤗
@Computerix
@Computerix Жыл бұрын
You're welcome :)
@brightertomorrow3343
@brightertomorrow3343 Жыл бұрын
Great keep going champ ❤
@Computerix
@Computerix Жыл бұрын
Thank you !
@omarps6622
@omarps6622 6 ай бұрын
keep it up bro ✌
@Computerix
@Computerix 6 ай бұрын
Thank you !
@RayhanHibatullah
@RayhanHibatullah Жыл бұрын
what is the diffrences between services and providers? both have @injectable and seems to have the same function (to be injected in something). I am from angular background so I kind a confused (or not)?
@Computerix
@Computerix Жыл бұрын
A provider is something that can be injected (could be a class, or an object, or even a number). When a class is decorated with @Injectable, we know that it's a provider and can be injected and used as a dependancy. It could be a service, or a helper class etc.. A service is used to handle business logic, to keep your application clean and seperated. So instead of putting all your logic in your controller for example, you create a service that takes care of the business logic to keep your code clean and seperared. It's a good idea to decorate a service with @Injectable (marking that specific service as a provider) because that way, we can take advantage of dependancy injection to use it in our application. In this example, we can see that the service is a provider. But a provider doesn't have to be a service. I hope it made things clearer !
@YanLoonG13
@YanLoonG13 7 ай бұрын
@@Computerix Greate explanation,
NestJs - Modules [04]
16:03
Computerix
Рет қаралды 2,1 М.
NestJs - Best Practices + Implementations
22:26
Computerix
Рет қаралды 5 М.
娜美这是在浪费食物 #路飞#海贼王
00:20
路飞与唐舞桐
Рет қаралды 5 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 2 МЛН
Купил?  Страдай!  - 2 года боли и украденный Утиль!
47:17
NestJs Microservices with RabbitMQ
23:21
Computerix
Рет қаралды 11 М.
NestJS gRPC Microservices Tutorial
55:04
Michael Guay
Рет қаралды 36 М.
Decouple your NestJS code with this technique!
11:37
Marius Espejo
Рет қаралды 36 М.
Bull & NestJS = Achieving Scale in Node.js
31:41
Michael Guay
Рет қаралды 31 М.
娜美这是在浪费食物 #路飞#海贼王
00:20
路飞与唐舞桐
Рет қаралды 5 МЛН