On 7/18/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Does anyone have better term for Action/Command?
In other places, I refer to such things casually as "handlers". People have often used this word on the list to distinguish between the action mapping and the Action class (handler). It's also impotant to note that "action" also refers to the action mapping, which in turn encapsulates the Action class. (Or I guess Command class now, too.)
Should this be aligned with Struts 2 terminology where "dispatcher" is apparently used for base controller component?
I'd suggest staying away from overloaded words like "disptacher". Both frameworks tend to split the role of the classic dispatcher. The action handler selects a result handler (ActionForward), and then the result handler selects the actual resource. In Struts 2, the result not only encapsulates the path to the resource, but may also help prepare the request for a specific type of view. -Ted. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]