|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^4: Implementing Model-View-Controllerby perrin (Chancellor) |
| on Jan 05, 2006 at 15:53 UTC ( [id://521339]=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.
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
|
|
||||||||||||||||||||||||