search for: searchquerystring

Displaying 1 result from an estimated 1 matches for "searchquerystring".

2006 Jun 23
0
Newbie: where to put input validation and model aggregations
...had a few more questions. -If I want to validate the user input, where should the methods go? As this is not really model validation, I''m not sure the best place for them. Should they be protected methods in the controller, or should I create a whole new class (perhaps something like SearchQueryString) that handles validation of the query? -If I only want to display some of the columns of the model in the output, where is the best place to specify this? Should I override the find methods in the model or explicitly list them in the controller? Or should I create a DB view and a new model b...