in reply to mod_perl and TT2...WITHOUT a calling script?
now, the user would directly request the index.html page, and apache would (theoretically) run it through a mod_perl handler first, which would interpret the TT2 directives, *then* serve it to the user. It would also make a huge library of predefined perl functions available as TT2 directives (such as check_login(), which would check for a login cookie and, if found, authenticate the user).<html> <body> [% INCLUDE header.html %] [% check_login() %] Welcome to the site! [% INCLUDE footer.html %] </body> </html>
Is this a solid idea to use perl and TT2? or should we go with ASP or some other solution?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: mod_perl and TT2...WITHOUT a calling script?
by merlyn (Sage) on Jul 08, 2006 at 18:10 UTC | |
|
Re^2: mod_perl and TT2...WITHOUT a calling script?
by EvanK (Chaplain) on Jul 08, 2006 at 17:20 UTC |