[Catalyst] Sending Email from Page?
John M. Dlugosz
wxju46gefd at snkmail.com
Sun Mar 27 15:30:26 GMT 2011
On 3/27/2011 2:24 AM, Tomas Doran bobtfish-at-bobtfish.net |Catalyst/Allow =
to home| wrote:
> Erm, why?
> Why should it be called an 'accessory', rather than a 'model', what's the=
> other than the nomanclature you want to use?
"A view queries the model in order to generate an appropriate user interfac=
In M-V-C, and Model is fundamentally a source of information to be used by =
"The *model* manages the behavior and data of the application domain, respo=
nds to requests =
for information about its state (usually from the view), and responds to in=
structions to =
change state (usually from the controller)."
An arbitrary helper subroutine used by the Controller is not a Model. Sinc=
e it is =
side-effect only, it matches one of the links in the graph (Controller TO M=
odel) so it =
"fits" in the architecture provides the proper connectivity. But that is a=
kludge, not =
its proper usage.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst