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 interface"

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, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller)."

An arbitrary helper subroutine used by the Controller is not a Model. Since it is side-effect only, it matches one of the links in the graph (Controller TO Model) so it "fits" in the architecture provides the proper connectivity. But that is a kludge, not its proper usage.


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to