You'd want your calculation class (the model), and UI class (the viewer). The controller receives user input and calls the model or the viewer as appropriate.
For instance: you could use a module like HTML::Template to provide your viewer functionality, your model would be custom written, and your controller might be implemented with CGI::Application.
In reply to Re: Implementing Model-View-Controller
by astroboy
in thread Implementing Model-View-Controller
by ghferrari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |