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

Re: [cgiapp] Splitting large projects.


On Thu, 8 Apr 2004, John Day wrote:

> I am starting a new project today which is going to be bigger, and I
> would like to break things up. But if I put the run modes into
> modules of their own how do they get access to the params and to the
> CGI query for example?

You might be interested in looking at Krang, perhaps the largest
open-source CGI::App project:

  http://krang.sf.net

Krang divides its UI into multiple separate web apps, each with their
own CGI::App sub-class and .pl script.  These modules all use the
underlying core API modules to interact with the database, access
configuration and share functionality.  When one app needs to transfer
control to another all they do so via redirects or by producing HTML
forms with their "action" parameter set to the target script.

-sam

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