4 ms·
MVC comes from the Smalltalk world. http://c2.com/cgi/wiki?ModelViewControllerHistory http://c2.com/cgi/wiki?ModelViewControllerHistory But it is quite differ
by huherto 14y ago
MVC comes from the Smalltalk world.
http://c2.com/cgi/wiki?ModelViewControllerHistory http://c2.com/cgi/wiki?ModelViewControllerHistory
But it is quite different from web MVC that was popular with web frameworks like Struts.
I haven't looked at the more recent javascript frameworks, but my intuition tells me that they are probably going back to the original MVC pattern. (Observer pattern to notify views when model changes)
- btilly 14y agoSaid history was referred to in the top level comment that started this discussion. I've had as a low priority idea for a few years implementing a web MVC framework that is somewhat closer to the original inspiration - not because it makes sense for generating HTML (though it actually works quite well for that) - but because it would reduce the impedance mismatch with a client-side library using the original MVC pattern. I have not actually done this for a number of reasons. The top one being that when you scratch an itch that you think someone else should have, it is much less fun and likely to work right than when you scratch your own itch. But it still bugs me that nobody has written one that works like I think it should...