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

Re: [cgiapp] Splitting large projects.


You got it! Base classes for families of CGI::App applications are very useful for exactly this reason. For example, here at work I have a base class that handles: authentication, page processing, simple redirects, url construction, session handling, form submission detection & validation, status/error messages, toolbars, etc And all I have to do to get this in any application is:

use base 'Company::MyAppBase';

Drew

John Day wrote:

At 01:31 PM 4/8/2004, Sam Tregar wrote:

OK, I think I am understanding this, from what I have said, does it
appear to you like I am understanding?

John



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


--
----------------------------------------------------------------
Drew Taylor                 *  Web development & consulting
Email: suppressed  *  Site implementation & hosting
Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
----------------------------------------------------------------


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