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

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


On 2005-07-01, Jason Purdy <suppressed> wrote:
>
> I'm starting to find myself copy/pasting the same 100 lines of code 
> whenever I start a cgiapp project - package lines, use lines, setting up 
> a setup, a cgiapp_init (with LogDispatch directives) and a stub runmode.

If you are copying around the same code in setup() and cgiapp_init(), it
sounds like a base class may serve you well. 

We have one that we use for all CGI::App projects at our firm. It's
generic enough that the functions never change per-project.

Now with the improved plugin system, I hope to receive various bits of
it as plugins, so people can re-use the parts of it they like.

    Mark
 
--
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   suppressed     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .


---------------------------------------------------------------------
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.