[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] C::A::Generator (was BOF Minutes)


Isn't this just basically CGI::Framework ? Preset directories, common
modules for setup, application and instance levels of the code etc.
Seems like a well enough developed cgi::framework baseclass would mean
that a "firm" could use their one base class for everything, just like
Mark has mentioned.

Jeff.


On 7/1/05, Cees Hek <suppressed> wrote:
> On 7/1/05, Brett Sanger <suppressed> wrote:
> > On Fri, Jul 01, 2005 at 05:10:32PM +0900, David Emery wrote:
> > > I'm curious as to how many CAP users, like me, already have their own
> > > homegrown Generator-like thangs. (A show of virtual hands, perhaps)
> >
> > Not me.  I agressively subclass, so there's not much to create.  My
> > module just has my specific run modes, my instance script has any
> > particular configuration variables.
> 
> I think the usefulness of this would come in setting up a nice
> directory structure that includes directories for libraries,
> templates, test scripts, and possibly even static html content like
> images/css/js.  Secondly there is the usefulness of creating stub
> files for the instance script, or an apache config file for mod_perl
> usage, and stub files for tests.  Then you could have a template file
> that is used to generate a stub for your project Base class, and other
> classes, that automatically inherit from your personal system wide
> Base class.
> 
> I think there is a lot that can be done automatically.  It may only
> save 20 or 30 minutes at the start of a project, but I think more
> importantly, it provides consistency between project layouts, and
> possibly ease of distribution.
> 
> A lot of this stuff is done for you in Catalyst and some of the other
> frameworks, and I think we could learn a lot from how they do things
> (with an eye towards customizing the generation process to your
> personal liking).
> 
> Cheers,
> 
> Cees
> 
> ---------------------------------------------------------------------
> Web Archive:  http://www.mail-archive.com/suppressed/
>               http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> To unsubscribe, e-mail: suppressed
> For additional commands, e-mail: suppressed
> 
> 


-- 
Jeff MacDonald
http://www.halifaxbudolife.ca

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.