Originally posted by Frank Carver:
In the article MVC is taken to imply "UI knows too much about the model", and yet his suggested alternative solution is equivalently "Model knows too much about the UI".
I, too, dislike "Rapid Application Development" (RAD) software, but I can't help thinking that this ill-informed rant is not really the answer. This was written a while back and I've tried to work through all six parts but just haven't manage to yet

. I did run the final application and it's kind of cool because the view changes on the fly when you resize the frame.
The article did make me wonder whether the objection to "Model knows too much about UI" is a just a sacred
cow. I haven't tried implementing the visual-proxy pattern in my own work so I have no idea if it actually does live up to the author's claims.
As for "UI knows too much about the Model", if you look at Struts, I think this problem becomes evident. In pre-1.1 versions, ActionForms were very still coupled with the JSPs and the underlying "model" object. For example, if you were displaying an address and needed to add a field, say Country, you'd need to change the JSP, change the ActionForm, and change the Model. This is reason for the creation of DynaForms, to eliminate the need to manually create/maintain so many ActionForm classes.
In contrast, from what I understand in Holub's article, the only changes you'd need to make using the visual-proxy pattern would be to add the Country attribute to the Model and the Proxy, which are naturally tightly coupled. Somehow, the JSP (the view) wouldn't have to change (I suppose by using a custom tag or something to make the Proxy render the view). But like I said, I haven't really tried to implement this but I think it could be worth a look, even if only to prove to myself that it's not the answer. (That is when I find some time to do it

)
Holub also mentions using the Customizer interface when creating views for JavaBeans instead of using getters/setters. Has anyone here done anywork with Customizer?