MVC Design
(last updated: Aug 25, 2009) print

Select font size:
The Model-View-Controller (MVC) architectural pattern is used in software engineering to allow for the separation of three common features in GUI applications: Towards this end one defines three components of such an architecture: In particular, the data presentation can be changed without any notion of how the data is obtained and conversely, the data access can be changed without any knowledge of how it is to be presented.

Object Relational Model (ORM)

In many cases, the underlying model used is an Object Relational Model because it gives an object-oriented presentation of the means by which a relational database is accessed. The ORM offers, in addition to SQL-like access methods, other access methods suited to common queries like fetching by id, fetching all from a table, etc.

ORM packages stand in contrast to a "homegrown" models which provide member functions which suit the needs of the specific application, as well as others, but are not general enough to suit the needs of any application.


© Robert M. Kline