Naive Controls

A naive control

A naive control does not: Not sure I understand what this means. Can someone give a simple example?

Maybe this is a Java thing & the author expects familiarity with AWT terms. --PhlIp


ActiveX controls would be NaiveControls by this definition, in that:

I have a problem with this definition of a NaiveControl? because: ...ties the control too closely to the domain model, making it impossible to reuse in another, even slightly different, domain.

The correct way to leverage a NaiveControl? (by this definition) and achieve domain applicability is to place the control in a MetaControl? (better name?) which gives the outward appearance of the control (perhaps adding certain methods/properties), but handles the domain-specific responses.


It is a couple of months since I made the comment above about not understanding this and after thinking about it I'm still not sure. Isn't this just a document-view architecture done properly. The controls know how to display their data and interact with the user and how to notify the application logic when something changes. The application logic knows which user interface objects care about their data, and how to tell those objects the value of new data.

Have I missed something?


I think it extends doc-view to handle a couple of new things:

--IanRae


See also Mediator in DesignPatterns.


EditText of this page (last edited March 19, 2000) or FindPage with title or text search