Responsibility of service and Repository

Asked

Viewed 234 times

1

Folks would like to know who uses service design-Pattern and Repository, how it would be a basic architecture structure, or whatever the service may or may not do, and what are the responsibilities of the Repository. I am currently using the following standard, View, Model(utilizo Doctrine), Controller, service, Repository , and would like to know what would be the most correct way of the data flow and the responsibility of each one. Could someone help me clear up this doubt ?

  • https://stackoverflow.com/questions/1440096/difference-between-repository-and-service

  • That answer is so you can parachute in here. Just for the record, there’s a repository with a simple example, which can help, try to implement: https://github.com/jsafe00/laravel-service-repository/

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.