Hi Eugene --
Thanks for the inquiry regarding CGI-App. In the future, please post
queries about CGI-Application to the mailing list, to which you can
subscribe by sending email to:
suppressed
This message has been cc'd to the list for the benefit of the members.
> it would be nice if it had a configuration file, like java
> struts does, or like php.mvc does.
CGI-Application does have a configuration file, of sorts -- the *.cgi
file "instance script". This file can pass arguments to the application
module at run-time to configure application behavior.
I'm not sure what you're talking about when you say "like java struts
does, or like php.mvc". Perhaps you can explain the specific features
you're looking for.
IMHO, "configuration files" are a slippery slope. They tend to start
off simple, and rapidly get complicated. Ultimately, they become their
own "mini-languages". The ultimate proof of this: "sendmail.cf".
(Yes, the "cf" stands for "configuration file").
In lieu of some separate file in a homegrown "language", I prefer
putting configuration data into:
* Class modules (*.pm)
* Instance scripts (*.cgi)
* Database tables
All of these resist the movement towards mini-languages. They all also
use languages and systems which are already in use, thus reducing
complexity.
Warmest regards,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
suppressed
Phone: 212-684-6161
Fax: 212-684-6226
---------------------------------------------------------------------
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.