BN.com Gift Guide

mod_perl Developer's Cookbook

Overview

mod_perl is a unique piece of software that wholly integrates the power of Perl with the flexibility and stability of the Apache Web server. With mod_perl, developers can harness the power of the full Apache API and develop Web applications quickly and without sacrificing performance.

The mod_perl Developer's Cookbook teaches programming with the mod_perl API by example. The book takes developers from the basics of mod_perl to the development advanced Web applications. ...

See more details below
Other sellers (Paperback)
  • All (17) from $1.99   
  • New (4) from $20.16   
  • Used (13) from $1.99   
Sending request ...

Overview

mod_perl is a unique piece of software that wholly integrates the power of Perl with the flexibility and stability of the Apache Web server. With mod_perl, developers can harness the power of the full Apache API and develop Web applications quickly and without sacrificing performance.

The mod_perl Developer's Cookbook teaches programming with the mod_perl API by example. The book takes developers from the basics of mod_perl to the development advanced Web applications. Developers will learn tricks, solutions, and mod_perl idioms gleaned from the authors' experience as developers and expert users of mod_perl.

Geoffrey Young is a frequent contributor to the mod_perl community and has written scores of mod_perl handlers, the most useful of which can be found on CPAN.

Paul Lindner manages, designs, and implements mod_perl applications at Critical Path. He is a long-time Internet and open-source developer, and was one of the founders of the Internet Gopher at the University of Minnesota.

Randy Kobes is a professor of physics at the University of Winnipeg who conducts research on chaos and fractals. He used mod_perl to establish a search engine for CPAN.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Combine mod_perl and Apache and you've got a remarkably powerful, flexible, stable, and low-cost platform for web development. But you'll also have a lot to learn. The best way is with plenty of examples. That's where this book comes in. Ideal for new mod_perl developers, it'll also help experienced folks discover smarter, more effective approaches. (Yes, there's always "more than one way to do it" in Perl, but let's face it: Some are better than others.)

The authors begin with a careful, step-by-step look at mod_perl installation and configuration -- which has tripped up plenty of folks. Whether you want to install RPM binaries, use Debian apt-get, or compile from source (even on Windows or Mac OS X), you'll find specific instructions and commands. There's detailed coverage of configuration, from migrating legacy CGI scripts to optimizing performance.

Next, it's on to the mod_perl API, starting with the Apache Request Object. Using extensive sample code, you'll learn how to communicate with the Apache server; manipulate links and files, and create handlers that modify how Apache behaves at the server level, either adding new functionality or override default server behaviors. Since you're programming within Apache's framework -- not around it -- it's easy to achieve functionality that's difficult or impossible with, say, Java or ASP.

Gradually, the examples become deeper and more directly useful. Code for authentication, controlling MIME types, caching, sending mail, generating content, preventing scripting attacks, generating XML, accessing databases, and more. You'll find yourself lifting plenty of this code. Very, very useful. (Bill Camarda)

Bill Camarda is a consultant, writer, and web/multimedia content developer with nearly 20 years' experience in helping technology companies deploy and market advanced software, computing, and networking products and services. He served for nearly ten years as vice president of a New Jersey–based marketing company, where he supervised a wide range of graphics and web design projects. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.

From the Publisher

Developers searching for solutions to specific problems can use the mod_perl Developer's Cookbook as a
collection of ready-made recipes to be understood and applied to their problems.
Developers searching for continuing mod_perl education will find the book's recipes to be enlightening, well-researched, and broadly applicable.

—Ken Williams

Read More Show Less

Product Details

  • ISBN-13: 9780672322402
  • Publisher: Sams
  • Publication date: 1/28/2002
  • Series: Developer's Library Series
  • Pages: 650
  • Sales rank: 1,427,112
  • Product dimensions: 7.32 (w) x 9.05 (h) x 1.57 (d)

Meet the Author

Geoffrey Young is a frequent contributor to the mod_perl community and has written scores of mod_perl handlers, the most useful of which can be found on CPAN. When not programming or writing, he is busy spending time with his wife and daughter, slowly rebuilding their house a room at a time.

Paul Lindner manages, designs, and implements mod_perl applications at Critical Path. He is a long-time Internet and open-source developer, and was one of the founders of the Internet Gopher at the University of Minnesota. Recently he has developed large mission-critical Web systems for the International Telecommunications Union, the United Nations Office for the High Commissioner for Human Rights, Red Hat, and Critical Path.

Randy Kobes is a professor of physics at the University of Winnipeg in Canada who conducts research on chaos and fractals. He used mod_perl to establish a search engine for the Comprehensive Perl Archive Network.

Read More Show Less

Table of Contents

Introduction 1
Pt. I Installation and Configuration 7
1 Installing modöperl 9
2 Configuring modöperl 45
Pt. II The modöperl API 77
3 The Apache Request Object 81
4 Communicating with the Apache Server 127
5 URI Manipulation 153
6 File Handling 179
7 Creating Handlers 209
8 Interacting with Handlers 263
9 Tuning Apache and modöperl 305
10 Object-Oriented modöperl 349
Pt. III Programming the Apache Lifecycle 377
11 The PerlInitHandler 383
12 PerlTransHandler 391
13 The PerlAccessHandler, PerlAuthenHandler, and PerlAuthzHandler 413
14 The PerlTypeHandler and PerlFixupHandler 449
15 The PerlHandler 473
16 The PerlLogHandler and PerlCleanupHandler 545
17 The PerlChildInitHandler, PerlChildExitHandler, PerlRestartHandler, and PerlDispatchHandler 567
A Available modöperl Hooks and Build Flags 587
B Available Constants 601
C modöperl Resources 611
Index 617
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted February 8, 2002

    mod_perl cookbook - Power Tools for Apache/mod_perl web application development

    The authors of the 'mod_perl Developer's Cookbook' have brought together in one place a collection of 'best practices' for dealing with just about every aspect of mod_perl development. The book begins by covering installation and configuration in such a way that you will avoid potential pitfalls and be able to create a custom built mod_perl enabled Apache web server with ease. Once you've got your Apache/mod_perl web server up and running, then the authors take you on what amounts to a guided tour of just what mod_perl can do from the basics of understanding the Apache request object and all the 'ins and outs' of the mod_perl API, to advanced URI manipulation, custom content creation, and tuning techniques that will make you a 'mod_perl hero' amoung your peers. After completing your whirlwind guided tour of the mod_perl API, then you get to take mod_perl out for a test ride. The authors explain each phase where mod_perl lets you tie into Apache from the server configuration and startup phase to stepping in at any point in the Apache request cycle. There's alot here in the cookbook that should lead to a significant surge in effective mod_perl usage. You come away with numerous ideas on how to apply mod_perl to solve your web application needs. The examples are drawn from practical and 'real-world' experience, and they don't shy away from getting down to the 'nuts and bolts' of even XS programming when that's what is required to get the job done. When you don't have it open for reference, the 'mod_perl Developer's Cookbook' deserves a place on the 'Must Have' section of your bookshelf.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)