The Artima Developer Community
Sponsored Link

Design Forum
Data Aware Widgets

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Greg

Posts: 18
Nickname: singleton
Registered: Jun, 2003

Data Aware Widgets Posted: Oct 1, 2003 10:48 AM
Reply to this message Reply
Advertisement
Hi All

I've had an ongoing discussion with several programmers
regarding the merits (or lack of merit) of using data
aware widgets. That is to say, third party developed
UI controls, which have a lot of functionality to them
and often times are responsible for updating critical
data based on user actions.

The long and short of my position is that "yes it is
quick and easy and of course I will always have a use
for such things but they do fly in the face of the
principles of a model view architecture." By definition
having a ui control (especially one with code that you
don't have access to) control data, increases the
likelihood of data errors whether or not you send the
data through a middleman. The more of these controls
you use the less reliable you data will be regardless
of whether the control offers methods to validate data
before sending it along or not (a "beforeUpdate"
thingy etc..) because it makes no requirement that these
methods be implemented.

By my experience, the use of these controls seems to be a
matter of gaining a gradual understanding of exactly
how they react to user actions and "plugging all the
holes" where unwanted results can leak through. I think
this is bound to be fraught with peril.


Opinions?

Topic: Understanding the Model Driven Architecture (MDA) Previous Topic   Next Topic Topic: Design issue - how to list options on a page to maximize clarity for user

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use