From: Jason S. <jsw...@ya...> - 2003-03-27 02:49:02
|
--- Arnold Cano <arn...@ya...> wrote: > I have reservations about removing forwards, forms, > and actions. They provided extension points for > specialization if required. Using primitives removes > this important feature. > > My understanding from studying Tony's code is that > commands are a simpler version of the original > actions. This mechanism is basically just a command > pattern with the exception that actions utilized the > mappings and form objects. I have thought in the past that it might be nice to specify another kind of "Action" that was actually just a method of model that accepted the same two parameters as the Action::Process() method. This might allow for some of the thiner Action classes to just be included as model class methods rather than distinct Action classes. For more significant actions where the class make sense, it should still be supported. Perhaps, borrowing from Tony, "Commands" could be the name of these kind of mappings. You might need: Command Name Model Base Class Method Name Input Page Source Validate Form and you would still need associated forwards. Jason __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |