[Catalyst] setting up files and namespace for utilizing different
models in the same catalyst app
Ash Berlin
ash at cpan.org
Thu Nov 23 20:52:15 GMT 2006
Matt S Trout wrote:
> Hermida, Leandro wrote:
>> What would people recommend as a naming convention and namespace setup
>> if one wanted to
>> eventually use more than one model inside of the same Catalyst app?
>
> I tend to use
>
> MyApp::Library -> book+author DB
> MyApp::Forum -> forum DB
> MyApp::Web -> Catalyst app
>
>
>
In that situation I'd go for
MyApp::Schema::Library
MyApp::Schema::Forum
then MyApp or MyApp::Web
(Or rather that's the kind of thing I've used for my current project)
Ash
More information about the Catalyst
mailing list