[Catalyst] Getting Started

Christopher H. Laco claco at chrislaco.com
Fri Aug 5 22:06:48 CEST 2005


I've gotten the itch to get started with Catalyst and developing a demo 
site for Handel [http://search.cpan.org/dist/Handel/]. I've already got 
a semi working TT based demo site along with an AxKit based demo site in 
the dist. While I understand the concept of MVC, building one from 
scratch for the first time is a different story. :-)

First, is it a correct assumption to make that the interaction between 
Model and View is just a matter of the Controller stuffing things into 
the stash?

Second, Handel is nothing but data I/O based on Class::DBI. It knows nor 
cares anything about where its requests come from, or how it will get 
viewed. Is there any compelling reason to create a Model wrapper for it, 
or will it just be accessed directly within the Controller?

Lastly, [trying to get a mental handle on whatcodes goes where in a 
conversion], is it really just a matter of moving all of the non 
presentation logic of the TT based site (cookie reads/writes, form 
posts, redirects) into a Controller and leaving the presentation code in 
the templates?

Thanks,
-=Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20050805/34141364/smime.bin


More information about the Catalyst mailing list