This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
concepts:views [2009/11/05 14:12] shona.weldon |
concepts:views [2009/11/05 14:13] shona.weldon |
||
---|---|---|---|
Line 3: | Line 3: | ||
Models, especially once populated with data, are fairly rigid. Modifying any working model requires changing the design and reloading data. Views provide a mechanism for extending the model either through preprocessed input data, additional analysis of output data and even implementing feedback loops in the model's logic. | Models, especially once populated with data, are fairly rigid. Modifying any working model requires changing the design and reloading data. Views provide a mechanism for extending the model either through preprocessed input data, additional analysis of output data and even implementing feedback loops in the model's logic. | ||
+ | |||
+ | Part of the design process is deciding what should be part of the rigid structure of the model and what should be dynamic and implemented by views. Anything that needs to be flexible is usually implemented in views. | ||
==== Example 1: Extend a model by changing input data ==== | ==== Example 1: Extend a model by changing input data ==== |