samedi 9 juillet 2016

Service layer in Play application (scala)

I used to have 4 layers in Java spring applications: domain(pojo), repository, services and controllers. And it was really convenient to test such application. Also such pattern follows single responsibility principle. Now I'm building my first Play web application and I'm wondering is it a common way not to use service layer for performing business logic and to have fat controllers instead?

Aucun commentaire:

Enregistrer un commentaire