After all, where should the rules of business be maintained?

Asked

Viewed 334 times

1

I am going through this doubt at the moment, I am researching about design patterns. Using the Framework, which has by default the MVC. Where should we keep business rules? I read that some people make a Repository for this, but I also read that Repository is not a place to keep the rules. After all, where to put? Which design standard is recommended below?

  • 1

    See https://answall.com/q/165925/101 and follow the links to form your own conclusion. It can also be useful https://answall.com/q/101692/101. I think this answers, because the answer is depends, or so is that each one finds a thing and no one is sure, or yet, no matter, has to solve their problem well, find a right place is to follow the rule blindly.

  • There’s also something https://answall.com/q/114084/18246

  • @LINQ is one of the links there, one that shows that the same person says one thing and the same person says the opposite, to see how confusing it is.

  • Orra, truth. That’s what comes from wanting to make a guess without reading everything right, was bad xD

No answers

Browser other questions tagged

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