I am working on a little project and I have a form with 12
fields. In theory, I will need a controller method with 12
parameters in it to handle this form. This seems like a problem
as methods with many parameters are painful and an easy source of
errors. In Martin Fowler's book on Refactoring he suggests
replacing many parameters with an object to improve sustainability.
I believe I can use the cgi field storage object, but I still seem to
need a bunch of params or the frameworks report errors. Can
someone point me to the pattern used for turbogears when deailing with
complex forms? Thanks...
--
Peter Kahn
[EMAIL PROTECTED]
[EMAIL PROTECTED], [EMAIL PROTECTED]
- [TurboGears] <?>Too many Params and Handling form POST... Peter Kahn
- [TurboGears] Re: <?>Too many Params and Handling ... Kevin Dangoor

