Laravel Repository Design Pattern | Laravel Advanced | Repository Pattern [HINDI]

preview_player
Показать описание
A repository is a separation between a domain and a persistent layer. The repository provides a collection interface to access data stored in a database, file system, or external service. Data is returned in the form of objects.

The main idea to use Repository Pattern in a Laravel application is to create a bridge between models and controllers. In other words, to decouple the hard dependencies of models from the controllers. The model should not be responsible for communicating with or extracting data from the database. A model should be an object that represents a given table/document/object or any other type in our data structure, and this should be its sole responsibility. Therefore, to keep your Laravel code clean and safe, it is worth using repositories to separate the responsibility for which the model should never be responsible.
Laravel Repository Design Pattern | Laravel Advanced | Repository Pattern
Our Playlists:
Laravel 9:
Nuxt Js
Laravel And Vuejs
Laravel Notifications:
Laravel And React Js
Laravel Interview Questions And Answers:
Laravel User Management System:
Laravel Multi Auth System

Follow us:

Please subscribe to my channel and share the video with your friends.

#laravelRepositoryPattern #RepostoryPattern #LaravelAdvanced
Рекомендации по теме
Комментарии
Автор

Sir aap ne to ekdam easy kar diya aur aapka explanation bahut hi excellent hai

santoshrauniyar
Автор

Tha k you sir, it's very helpful to understand the repository structure in laravel

ushayadav
Автор

do you have any videos for factory design pattern, builder and strategy pattern?

amitleuva
Автор

Hi i have a small question can we do same logic under contract instead of making repository which one is more powerful please suggest

manzoorahmed
Автор

Thank you so much sir, I was looking for this same to do, I asked my seniors but they shown zero interest to tell me. So, Thanks !

Pramodsharma-uzix
Автор

When to use service, model, repository, action class in lumen laravel?

asok
Автор

Great video sir...how to install React inside Laravel..please make a video...This is my humble request to you

souravsaha
Автор

Nice video sir please make videos on all design pattern used by laravel

piyushshyam
Автор

Sir kya category, Blog, product etc ke liye alag - alag repository make Krna padhega

AV-Technology
Автор

thanks for sharing good video, please make a complete video on all design pattern asap.

Vikaskumar-urdi
Автор

Why you inject category repositoryInterface in constructor instead of injecting category repository

blacklisted-videos
Автор

It's very completed process, please follow eloquent, it is easy to use .

ameetballa
Автор

Excellent thanks teach us other too thanks

dilmurod
Автор

Sir class direct q use nhi kar sakty ? Interface sey bind karna q zarori hai ?

hammadhasan
Автор

And write with solid thanks for tutorials

dilmurod
Автор

Please Make a video on Module system in Laravel or HMVC

Thanks for this video👋

soumenmajhi
Автор

make more videos regarding design patterns in laravel 9

amitdev
Автор

overall video is excellent but voice is not good plz fix the audio thank you

zeeshanalamgir
Автор

This is so complicated than normal process! Why someone should follow such complicated process?

shahriarmahmudshahed
Автор

Why creating so many files for this pattern. That means we create so many files for crud

kalyanipriyadarsini
join shbcf.ru