[Catalyst] RE: setting up project where web application (Catalyst) is only a part

Daniel McBrearty danielmcbrearty at gmail.com
Mon Dec 4 14:49:22 GMT 2006


I am using the layout as setup by the catalyst.pl script. I put
modules as needed in the MyApp space under lib. Any extra scripts for
generating static stuff or whatever lives in scripts. I add a db
directory that has a schema and other stuff like a script for
migrating db's in it. I add test scripts to the t dir as I go.

What the script gives is quite a good template IMO, and it is close to
that used by many cpan modules and all. What confused me at first was
that I was not that familiar with that way of working, I had my own
odd ways. I'm slowly getting to know and use the conventions more.

HTH

Daniel


On 12/4/06, Hermida, Leandro <Leandro.Hermida at fmi.ch> wrote:
>
> Hello,
>
> Sorry for sending this post again but I got zero responses to it.  Does
> anyone have any advice for setting up the folder layout for a
> self-contained Perl project where the Catalyst app is only part and I
> have external scripts, programs, services that would need to reference
> libraries which catalyst also references?
>
> ________________________________
>
> From: Hermida, Leandro
> Sent: Friday, November 24, 2006 17:48
> To: 'The elegant MVC web framework'
> Subject: setting up project where web application (Catalyst) is only a
> part
>
>
> Hello again,
>
> Sorry more questions on layout of a project which involves Catalyst.  I
> have done previous projects where the mod_perl web app is only one piece
> of the project which has other programs, scripts, services etc.  Here is
> what my project root directory would typically look like:
>
> conf
> C_progs
> data
> dev_tests
> htdocs
> lib
> logs
> perl
> R_progs
> sql
> tmp
> web_perl
> web_startup
>
> It seems so far from the tutorial that the layout for a catalyst app is
> tied to the web application (I could be completely wrong) and it would
> get crazy to start adding external things.
>
> Changes
> lib
> Makefile.PL
> myapp.yml
> README
> root
> script
> t
>
> Is there a different layout that one could use?
>
> Leandro
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>


-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131



More information about the Catalyst mailing list