3 ms·
Struts was released in 2000, so it predates yours. However I know people who were using MVC as a design pattern in Perl in the 90s.
by btilly 14y ago
Struts was released in 2000, so it predates yours. However I know people who were using MVC as a design pattern in Perl in the 90s.
- huherto 14y agoMVC 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...
- arethuza 14y agoWhat I meant was that Struts wasn't the first mention of MVC in relation to web apps - lots of people were rolling their own frameworks in 2000/2001 and MVC was a common buzzword. As most developers in those days hadn't started with web apps it wasn't surprising that the term MVC was used - e.g. we were writing MVC C++ wrappers for simulations in 93/94 and Java MVC simulations in applets from '95.
- btilly 14y agoI agree that Struts wasn't first on the web. But a 2000-2001 handrolled MVC framework does not qualify as "pre-Struts".