Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Geckoman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
Geckoman
16y ago
Yes, I should clarify. I don't think any of the MVC-variants encourage business logic to be in the controller. The differences are really in the view and controller layers. I suppose, strictly speaking, the others -- MVP, MVVM, MVT, etc --
2.
▲
by
Geckoman
16y ago
What you're seeing is actually correct. In MVC, the data and logic reside in the Model, with the Controller only handling communication between the other components. Don't make the mistake of equating the Model with your Data Layer. They're