in reply to Re (tilly) 4: Code Critique?
in thread Code Critique?
Like most categorical statements, this is false.
Was that an example? ;)
There is a real cost to setting up a framework that nicely separates
different kinds of code. This cost is seen in additional up front
complexity in design, the need to be sure that tools which are used
for each component play well with whatever system (eg templating)
you use to get the components to interact, additional layers to
worry about, etc.
Well, in the general case I would agree enthusiastically. But in the specific case...
HTML::Template has very little cost. There isn't the design complexity of other template systems, and it really doesn't try to do much. It's about like SSI, with simple loops, and in the CGI instead of the web server. I've never seen or heard of compatability issues. Anything running in apache using CGI.pm can work just as well using HTML::Template, because all you're really changing is the print call(s), and how you generate the strings to print.
I guess I am just too lazy to run from a marginal upfront complexity, if it means less calls on my cell phone, "I updated the login CGI and now nobody can connect!"
Maybe it is just because I usually get idiots for project managers. :) Someday... Someday...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 6: Code Critique?
by tilly (Archbishop) on Jun 20, 2001 at 23:03 UTC | |
by Aighearach (Initiate) on Jun 21, 2001 at 01:57 UTC | |
by tilly (Archbishop) on Jun 21, 2001 at 02:58 UTC | |
by Aighearach (Initiate) on Jun 21, 2001 at 03:28 UTC |