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

Re: [cgiapp] Planning next CGI::App release




suppressed wrote:

	I do have one or two requests... The first is persistent access to
an HTML::Template object, ala the persistant access to the CGI module via
query(). I see no reason (based on my projects/experience) why it is not so.
For instance, I have a prep_tmpl() method that fills in all the default
template values like footer, header, and some miscellaneous other items. I
have to pass the tmpl object as an argument to this method, which is a bit
sloppy. Below is my proposed new load_tmpl(), based on query().

	One further request, and this could generate a flame war, which I
have neither the time, nor the interest to entertain, is the dedicated
support of a session module, and obviously, it should also be persistantly
available througout the application like query(), and my proposed
load_tmpl(). I propose CGI::Session, for a few reasons. It's feature rich,
stable, ubiquitous, and not tied down to Apache only, just like CGI::App.

Not a flame, but perhaps a reasoned voice of disagreement :)

The problem with tailoring C::A with these sorts of extensions is that it makes the assumption that everyone useing C::A wants to use those particular tools, and that they will use them for every application they write. There have been a number of times where people (myself included) asked Jesse to take _out_ the HTML::Template support, because we used other templating systems. He was gracious enough to make HTML::Template dynamically loaded, rather than automatically, which I believe was the right thing to do.

Please don't impinge on people's Other Ways To Do It by dictating which companion modules will be loaded/used. By all means present and endorse 'best practice' and 'de facto' modules to the community, but let those that want to walk their own path do so.

-Stephen


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