13.16. What's Next?
When you start writing real-world MVC applications, you will probably find you have a number of questions about the best way to design your applications (which is somewhat ironic given that MVC stresses convention over configuration).
When dealing with design decision, it can help to keep the following ideals in mind:
Aim for a thin controller and fat model—the controller is just responsible for interacting with the view and model and should never contain any logic! OK, I haven't been that strict in this chapter, but you should because it will make your applications much easier to test.
Consider whether your application could be easily split or load-balanced across a number of servers easily. If it can, the chances are good ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access