Perl Monk, Perl Meditation | |
PerlMonks |
Re^4: Implementing Model-View-Controllerby perrin (Chancellor) |
on Jan 05, 2006 at 20:53 UTC ( [id://521339]=note: print w/replies, xml ) | Need Help?? |
Ideally, the controller wouldn't do much here. It would read the web request, see that the action requested is a search, read the parameter hair_color=blue from the query string, and then call a method like this:
Then it would pass the @users data to a template for display.
In Section
Seekers of Perl Wisdom
|
|