Simple question: when can I call my site to have "MVC"?
Posted: Fri Mar 06, 2009 6:29 am
I tried various resources on the web trying to learn the ropes on stuff like architecture and design in code, but they have a frustrating habit of assuming I have knowledge of all the fancy jargon they prefer to employ while explaining stuff...
Anyways, from what I understood, it seems that MVC means that all the "data" the site has to deal with is called Model, all the visual interface of the site is in "view", and the php code that runs these together is in Controller;
sorry, but is that not how every site works? Have all the data in the MySQL database, all the view is handled by the php code within the script, and the rest of the HTML in the script takes care of the view stuff!
So, where is my assumption wrong? And please be an angel and point to me a resource, book, blog, article or website or whatever that discusses this stuff in detail, while taking care to explain difficult-to-define terms before they use them...
Anyways, from what I understood, it seems that MVC means that all the "data" the site has to deal with is called Model, all the visual interface of the site is in "view", and the php code that runs these together is in Controller;
So, where is my assumption wrong? And please be an angel and point to me a resource, book, blog, article or website or whatever that discusses this stuff in detail, while taking care to explain difficult-to-define terms before they use them...