Now we implement the data entry form for the application using the Zen ModelViewController
(MVC) framework. The Zen MVC framework allows us to quickly and easily implement a modelviewcontroller
design. It can dramatically simplify an application's code for displaying and updating data.
An MVC architecture separates an application's data (model) from its user interfaces (view) by inserting a layer of code (the controller) between the two. The controller code updates the model in response to user interaction with the view and updates the view in response to changes in the model. This decoupling of data from presentation provides a number of benefits including much greater code simplicity and flexibility.
Zen MVC in the Data Entry Form
© 1997-2019 InterSystems Corporation, Cambridge, MA