|
|
|
|
|
by camwest
5242 days ago
|
|
I'm confused. MVC wasn't created for web 1.0 page/post programming. It was created for Desktop applications which are very similar to todays front-end heavy applications. I think the pattern you're referring to is more like a Model2 (JSP/Rails) style pattern. |
|
For example: There is one widget (let's call it a Table) that displays data. The breakdown is as follow:
Model => Data View => Table Controller => Something that updates view based on changes in model (undefined originally)
Even if it wasn't limited to one widget, it was limited to a one simple View of the app (the other popular example is to use the DocumentWidget and DocumentModel "real-life" sample).
The original MVC was definitely not well-thought for rich desktop application PLUS automated testing with limited dependency to the Presentation layer (or view).
I believe Java SWING library utilizes MVC model at the widget levels.