From: Joe C. <jo...@sw...> - 2004-05-24 22:00:36
|
No. web-lib isn't getting templating. I was just mentioning the new gui functions. But if you want templates, use your favorite template module. Just use the already existing Perl Modules module to install it if the user doesn't have it, rather than reinventing the wheel and doing something without the users knowledge. An example of this can be found in the LDAP module. be...@ge... wrote: > I'm not sure what your talking about with the web-lib thing, but I'm > accustom to writing html using templates. That is, one file for html with > special denotation for variables, and then another file to assign the > vars, and repeat blocks of html and such. Is that what your talking about > with web-lib? > -ben > Joe Cooper said: > >>Don't auto-download anything. Do what Jamie has done in the LDAP >>module, for example...Check for the module, and if it doesn't exist, >>allow the user to use the Perl Modules module to install it. You don't >>need to reinvent the wheel in this case. Jamie's already rolls quite >>nicely. >> >>I'll also mention that Jamie has started a simple set of GUI routines in >> web-lib. One can hope that they will soon provide simple calls for the >> most common GUI elements and you won't need to use separate modules, >>and theme designers can replace the functions on an as-needed basis to >>modify GUI elements. >> >>be...@ge... wrote: >> >>>I'm currently developing with HTML:Template, but I had to use CPAN to >>>download and install the module. Should I add an auto-download sort >>>of script so that if they don't have HTML:Template, it will go and do >>>it? And yes, I'm calling header and footer. I'm just tired of >>>writing html and cgi all in one file. >>>-ben |