"be consistent" | |
PerlMonks |
Re: Implementing Model-View-Controllerby astroboy (Chaplain) |
on Jan 04, 2006 at 14:17 UTC ( [id://520912]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|