Skip to content

SRP violation in MVC

eimihar profile image Rahimie Ahmad twitter logo github logo ・1 min read

How does it not concern anyone on how often the Controller in MV(C) violates the SRP in (S)OLID principle. They're often written as a bag of actions/handlers but the more people tried to make it seems like a real functioning object, (with dependency injection etc) the less sense it makes about this wholly accepted concept.

twitter logo DISCUSS
markdown guide
Classic DEV Post from Aug 6 '19

What to put in your portfolio as a beginner web dev

Rahimie Ahmad profile image
I am.. not sure who i am.