|
Posted by Mark Clements on March 18, 2007, 3:53 pm
Please log in for more thread options
Joseph Brenner wrote:
> Joe Blower <motiv8xtop25web.com> writes:
>
>>> - Support of Model View Controller Conecpt (MVC)
>> not sure what this is.
>
> Seperation of html (the "View") from code is mostly what this means.
>
> It's never been that clear to me where the break is supposed to
> be between "Model" and "Controller", but I would guess this
> largely just means database and code; though you might take
> it to mean SQL and perl, which would explain all of the many and
> various object-relational-mappers (which actually prevent you
> from using the database relationally, as far as I can tell).
>
>
My interpretation is that the model contains the business logic and
interaction with the database, whereas the controller marshals user
input and invokes methods on the model accordingly before returning the
view to the user.
YMMV :)
Mark
|