CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [andrew_b] Database driven websites with Perl: Edit Log



Paul
Enthusiast

Jul 25, 2002, 4:35 PM


Views: 456
Re: [andrew_b] Database driven websites with Perl

>>
Are people using mod_perl for this?
<<

Yep, I'm nearing the end of a help desk project to be located at supportsql.com, the helpdesk is fully OO with custom modules such as a template parser, SQL module, tar module, dumper module and much more...its around 1.2MB in size and 2.8MB including images.

It has been tested with mod_perl 1.26 and works well (v. quick)....it requires Apache::DBI for persistent database connections.

The template parser is very advanced allowing great flexibility when retrieving things from the database...eg...

my $arrayref = $sth->fetchall_arrayref({});

...I just need to put:

<%loop tag_name%>
<%endloop%>

...into my template and pass $arrayref into my parser and all the output is produced dynamically.

Inside that loop I can put any html or mysql column names and the output is dynamically generated.


(This post was edited by RedRum on Jul 25, 2002, 4:37 PM)


Edit Log:
Post edited by Paul (Enthusiast) on Jul 25, 2002, 4:37 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives