On Sat, Jun 6, 2009 at 10:43 AM, Norman Khine<[email protected]> wrote:
> http://docs.hforge.org/itools/web.html although this is for the newer
> version, in my case i am maintaining an older version.

>From that page it seems that itools does as I suggest. They claim to
follow the Model-View-Controller pattern which separates the model and
view. The View classes are responsible for display of data but not for
the contents. It's not clear from the examples where the model fits in
but it is distinct from the view.

Kent

> On Sat, Jun 6, 2009 at 3:24 PM, Kent Johnson<[email protected]> wrote:
>> On Sat, Jun 6, 2009 at 8:26 AM, Norman Khine<[email protected]> wrote:
>>
>>>> You probably don't want the view code in the same class with the data.
>>>> It's generally a good idea to separate the model - the representation
>>>> of data - from the view - the display of the data.
>>>
>>> In iTools, each class has a view, edit, state etc... functions
>>> depending on the class.
>>
>> Can you point to an example in the itools docs?
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to