> "MVC" meant something very different before web frameworks coopted the > term. In fact, it was already leaning towards meaninglessness in the > world of event-driven GUI frameworks before the web world started to > use it. The term originated in Smalltalk, where it described a very > precise interaction between three components that had concrete > implementations. It was later coopted by other GUI frameworks (in > Java and MS worlds) to mean something slightly different, confusing > things a bit. > > Then finally, in maybe 2005 or so, it was adopted by web frameworks to > mean something entirely different. See also > > http://docs.pylonsproject.org/projects/pyramid/1.0/designdefense.html#pyramid-gets-its-terminology-wrong-mvc > > So these days "MVC" is just a marketing acronym. Its value is only as > a binary marketing identifier ("this framework is MVC, that one is > not"). "Non-MVC" frameworks tend to put both presentation and > business logic into the same place (e.g. PHP into a template), while > "MVC" ones do not. But the individual letters of the acronym are > nonsensical to try to adhere to in most web frameworks. If you're > trying to be "more MVC" in your code, you will have a very difficult > time, because it's just not really a technical goal to aspire to. > There would be no generally agreed upon way to do it, because MVC > doesn't have any sensible well-understood shared technical meaning. >
hear hear! MVC is not an accurate term as it's applied to web framework architectures. I learnt MVC before even learning web design, it's how you write solid real time audio apps. Ardour uses it. People use for controlling things like Csound in Python. But in that case the *controller* is the thread or component that parses all user input and sends realtime commands/messages to views and engines (the model). It's really not the same thing at all as what a web framework "controller" does. I'm happy to see the bastardization of the term getting called out, because IMHO it just causes architectural confusion. =) Iain -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
