Where does the query language sit within the MVC pattern?
Posted
by weesilmania
on Stack Overflow
See other posts from Stack Overflow
or by weesilmania
Published on 2010-06-13T14:36:37Z
Indexed on
2010/06/13
14:42 UTC
Read the original article
Hit count: 184
mvc
|design-patterns
I'd assume that since the query language sits within the controller (typically) that it belongs to that component, but if I play devil's advocate I'd argue that the query language is execute within the domain of the model, and is tightly coupled to that component so it might also be a part of it.
Anyone know the answer? Is there a straight answer or is it technology specific?
© Stack Overflow or respective owner