Download presentation
Presentation is loading. Please wait.
Published byTyler Bank Modified over 9 years ago
1
Michael Parker1998 O'Reilly Perl Conference Mod_Perl: Putting it all Together 1998 O’Reilly Perl Conference San Jose, CA.
2
Michael Parker1998 O'Reilly Perl Conference Introduction What is mod_perl? Apache Web Server Introduction –Modular Design –Apache API, Phases Why use mod_perl?
3
Michael Parker1998 O'Reilly Perl Conference The Basics Apache::Registry Persistent Database Connections Authentication
4
Michael Parker1998 O'Reilly Perl Conference Apache::Registry Possibly the most popular mod_perl Module. Replacement for standard CGI programs. Ability to cache compiled scripts. See Also Apache::PerlRun
5
Michael Parker1998 O'Reilly Perl Conference Persistent Database Connections Database connection time can be one of the largest slowdowns for a web site. Global variables persist across connections. $dbh || $dbh = SomeConnectMethod $dbh now Global for life of child.
6
Michael Parker1998 O'Reilly Perl Conference Persistent Database Connections DBI/DBD Database Interfaces. Apache::DBI
7
Michael Parker1998 O'Reilly Perl Conference Apache::DBI Usage 1) Add Apache::DBI to your web server startup. There are several method for doing this, see the mod_perl documentation for more information. 2) use DBI; in your scripts and modules. 3) There really isn’t a third, its just that easy.
8
Michael Parker1998 O'Reilly Perl Conference Authentication Standard Authentication –Emulation for mod_access/mod_authen Non-Standard Authentication –Database –SMB –Other
9
Michael Parker1998 O'Reilly Perl Conference Real World, Real Fast, Real Cheap Creating a Web Based Application
10
Michael Parker1998 O'Reilly Perl Conference Anatomy of a Web Application Authentication Speed Content Online Orders Maintenance
11
Michael Parker1998 O'Reilly Perl Conference Other Functions Logging Cleanup
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.