Sign in
Log inSign up

Do Controllers violate Single Responsibility Principle?

Sergio's photo
Sergio
·May 11, 2016

In the last days I read about SOLID principles and clean code, and one question comes to my head. Controllers violate the Single Responsibility Principle, no?

I read of this in stackexchange and see that Controllers violate this principle but can't do in another way.

Do you think it's possible to do in other way or in this case is impossible?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct