Table of Contents

Module: mvc Twisted-0.19.0/twisted/python/mvc.py

A simple Model-View-Controller framework for separating presentation, business logic, and data.

A google search reveals several interesting pages to refer to while designing this implementation:

http://www.object-arts.com/EducationCentre/Overviews/MVC.htm

Model-View-Presenter is a slightly newer concept developed by IBM in the early-mid nineties and now used extensively in Dolphin SmallTalk:

http://www.object-arts.com/EducationCentre/Overviews/ModelViewPresenter.htm

Pretty pictures, for sure. I'll try to keep this implementation simple while trying to learn as much as possible from previous implementations.

Imported modules   
from twisted.python import components
Classes   
Controller

A Controller which translates commands the user executed on the

IController

A MVC Controller

IModel

A MVC Model.

IView

A MVC View

Model

A Model which keeps track of views which are looking at it in order

View

A View which tracks a model and displays it's contents to the user.


Table of Contents

This document was automatically generated on Sun Jul 14 19:53:11 2002 by HappyDoc version 2.0