Board index » cppbuilder » Re: The Silent Majority
Re: The Silent Majority
2004-12-20 10:00:19 AM
Roddy Pratt wrote:
application state. If you have an underlying 'model' that your
This is a lways a pain - I'd be interested in your solution. A number
controls interact with and observe, it is usually simpler to catch and
resolve the circularity.
You might want to Google up some info on the Model-View-Controller
pattern, MVC for short, and the simplified version Document/View.
Separating application state from presentation (GUI) is important for
any reasonably complex system, and just as possible in BCB as any other
environment. The difference is BCB makes is easy to follow dirty
shortcuts that skip this separation and put all logic into your forms.
Taking this least-resistance route is definitely storing up trouble as
your system grows.