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 ...

Get Introducing .NET 4.0: with Visual Studio 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.