MVC without ORM is not real MVC?

Posted by ajsie on Stack Overflow See other posts from Stack Overflow or by ajsie
Published on 2010-04-17T14:37:10Z Indexed on 2010/04/17 14:43 UTC
Read the original article Hit count: 258

Filed under:
|
|

at the moment im integrating ORM (doctrine) into a MVC framework (codeigniter).

then it hit me that this was the obvious way of setting up a MVC:

the controller calls the models that are representing database tables.

look at this picture:

MVC + ORM

then i wondered, how can a MVC without ORM be real MVC? cause then the models are not real objects, rather aggregations of different functions that perform CRUD, then returning the result to the controller. and there is no need for a state (object properties) i guess so the functions would be all static?

correct me if im wrong on this one.

i guess a lot of people are using models without ORM. please share your thoughts. how do your models look like?

© Stack Overflow or respective owner

Related posts about orm

Related posts about mvc