|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Implementing Model-View-Controllerby astroboy (Chaplain) |
| on Jan 04, 2006 at 09:17 UTC ( [id://520912]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||