Re: Data access from multiple code modules
- From: simon.hibbs@xxxxxxxxx
- Date: 13 Jul 2006 05:29:09 -0700
Bruno Desthuilliers wrote:
Separating operations on data (model/controler) from GUI code (view).
The controler(s) have a reference on the model. The views have a
reference on the controler(s), and call on the controller to get data to
display or act on data.
So I instantiate a Model object that handles all IO to the database.
Next I instantiate a Controller object, passing it a reference to the
Data/IO model object. Next I instantiate the display panel objects for
the GUI, passing them references to the Controller object.
The Controller object contains the logic for all the transformations I
want to perform on the data.
Simon Hibbs
.
- Follow-Ups:
- Re: Data access from multiple code modules
- From: Bruno Desthuilliers
- Re: Data access from multiple code modules
- From: Fredrik Lundh
- Re: Data access from multiple code modules
- References:
- Data access from multiple code modules
- From: simon . hibbs
- Re: Data access from multiple code modules
- From: Jeremy Jones
- Re: Data access from multiple code modules
- From: simon . hibbs
- Re: Data access from multiple code modules
- From: Bruno Desthuilliers
- Re: Data access from multiple code modules
- From: simon . hibbs
- Re: Data access from multiple code modules
- From: Bruno Desthuilliers
- Data access from multiple code modules
- Prev by Date: Re: stderr, stdout, and errno 24
- Next by Date: Re: ctypes wrapping libpam.so on FreeBSD 6.1 - Python Bus Error
- Previous by thread: Re: Data access from multiple code modules
- Next by thread: Re: Data access from multiple code modules
- Index(es):
Relevant Pages
|