8 ms·
"some variations on MVC where the distribution of responsibilities is different" Most don't. I'm using Django. Recently I've started digging into iOS developme
by tudorizer 16y ago
"some variations on MVC where the distribution of responsibilities is different"
Most don't. I'm using Django. Recently I've started digging into iOS development (whichs rocks). I know that comparisons between the two are not fair, but I can't help wondering.
As I want to have my code easy to read and maintain, I'm trying to find the best places to put the methods, so they make sense. Any other tips are welcome.
- Geckoman 16y agoYes, 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 -- aren't properly called variants of MVC, but they're all aiming for philosophically similar divisions of responsibility.