By Rick Anderson
The Model-View-Controller (MVC) architectural pattern separates an app into three main components: the Model, the View, and the Controller. The MVC pattern helps you create apps that are testable and easier to maintain and update than traditional monolithic apps. MVC-based apps contain:
Models: Classes that represent the data of the app and that use validation logic to enforce business rules for that data. Typically, model objects retrieve and store model state in a database.
http://codango.com/adding-a-controller/
We are happy to share this resource that we found. The content displayed on this page is property of its original author or their organization.
No comments:
Post a Comment