Hi All,
Here's an excerpt from a book I'm reading about application design with MVC:
Ideally, the view is so simple and logic-free as to need virtually no testing. Users (and developers before users) can reasonably test the view by simply looking at the pixels on the screen. Anything else beyond pure graphical rendering should ideally be taken out of the view and placed in the controller and model. This includes, for example, the logic that determines whether a certain button should be enabled or grayed out at some point.
what does the bold statement mean to you? what would this look like?
thanks, rod.