Tips and Tricks: Laravel Service class pattern & how to use Interfaces apart from Repository pattern

preview_player
Показать описание
In this video, I am going to walk you through a design pattern in Laravel where we can use Service classes to push all our business logic into that class and ensure that our Controller is very slim.

Interfaces, on the other hand, are very useful when we are doing any third party integration or behaviour in the application which can switch the implementation from time to time.
Рекомендации по теме
Комментарии
Автор

Thanks, bro. I just learned a new concept today.

sunderjangra
Автор

Very clear demonstration, thank you! I just have a question, what if I want to implement both? I mean, I want to send SMS & Email at the same time? Is it possible?

redhat
Автор

It is similar with repository pattern? What is the different with repository pattern?

MohammadRobih
Автор

What plugins use in visual studio code for laravel?

williandres
Автор

So basically it is open close principle implemented.

younas
Автор

Continue the series of Restaurant Menu Laravel and Vue js

sannymiraflor
Автор

Dude, please do something about the audio. Better record all the audio not only when you talk. There is some threschold during record. You need to get rid of it.

GamerRanger
Автор

What kind of animal uses the white theme in VSC? ;)

imakeinternetdev
welcome to shbcf.ru