[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=
 difference =

> other than the nomanclature you want to use?
>
> Cheers
> t0m
>
"A view queries the model in order to generate an appropriate user interfac=
e"

In M-V-C, and Model is fundamentally a source of information to be used by =
the View.

"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...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110327/007af=
215/attachment.htm


More information about the Catalyst mailing list