Laravel using Repository design pattern

Here is the video that will give you clear idea about implementation Repository design pattern in Laravel .

Among many design patterns Repository pattern is something that is really taken serious in Laravel. One of the most popular ways for building an application using Laravel is the Repository Pattern. The basic idea of the pattern is to create repositories to link/bridge between your controller and model and hence controller uses repository class instead of the model directly and in that repository you may declare your methods using the model.

After my research i have found good tutorials in in following  Links:

 

Laravel – Using Repository Pattern

 

Creating flexible Controllers in Laravel 4 using Repositories

 

http://slashnode.com/reusable-repository-design-in-laravel/

 

Comments

comments