MVC – A model for every view

My current understanding of MVC (Model-View-Controler) is, that every view has its own model.

mvc_2

 

In this case the 3D-Model of the house is not the model itself. The 3D-Model represents the business logic and provides different views. In the displayed example the FrontView and the Side View.

The FrontView and also the SideView have to representations. Once the geometrical View and second the parametrical View. If you want to edit the 3D-Model you can do this in the belonging parametrical Views. The controller commit the changes to the 3d-Modell and updates the geometrical Views and of course the value of the changed parameter.

 

… to be continued

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s