Beginning Perl Web Development - From Novice To Professional (2006).pdf
(
2833 KB
)
Pobierz
9527367 UNPDF
Beginning Web
Development with Perl
From Novice to Professional
Steve Suehring
Beginning Web Development with Perl: From Novice to Professional
Copyright © 2006 by Steve Suehring
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN (pbk): 1-59059-531-9
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Ewan Buckingham
Technical Reviewer: James Lee
Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore,
Jonathan Hassell, Chris Mills, Dominic Shakeshaft, Jim Sumser
Project Managers: Laura Cheu, Richard Dal Porto
Copy Editors: Marilyn Smith, Nicole LeClerc
Assistant Production Director: Kari Brooks-Copony
Production Editor: Ellie Fountain
Compositor: Kinetic Publishing Services, LLC
Proofreader: Lori Bring
Indexer: Rebecca Plunkett
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail
orders-ny@springer-sbm.com
, or
visit
http://www.springeronline.com
.
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley,
CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail
info@apress.com
, or visit
http://www.apress.com
.
The information in this book is distributed on an “as is” basis, without warranty. Although every precau-
tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any
liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly
or indirectly by the information contained in this work.
The source code for this book is available to readers at
http://www.apress.com
in the Source Code section.
Contents at a Glance
About the Author
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
About the Technical Reviewer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Acknowledgments
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
PART 1
■ ■ ■
CGI Development with Perl
CHAPTER 1
The CGI Module
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
CHAPTER 2
Popular CGI Modules
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
CHAPTER 3
Databases and Perl
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
CHAPTER 4
System Interaction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
PART 2
■ ■ ■
Internet Interaction with LWP and
Net:: Tools
CHAPTER 5
LWP Modules
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
CHAPTER 6
Net:: Tools
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
PART 3
■ ■ ■
XML and RSS
CHAPTER 7
SOAP-Based Web Services
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
CHAPTER 8
Perl and RSS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
CHAPTER 9
XML Parsing with Perl
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
PART 4
■ ■ ■
Performance Enhancement with
mod_perl
CHAPTER 10
Apache and mod_perl
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
■
CHAPTER 11
Development with mod_perl
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
iii
■
■
■
■
■
■
■
■
■
■
PART 5
■ ■ ■
Creating Web Templates
CHAPTER 12
The Template Toolkit
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
■
CHAPTER 13
Perl Web Sites with Mason
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
APPENDIX
Perl Basics
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
INDEX
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
iv
■
■
■
Plik z chomika:
agentpl
Inne pliki z tego folderu:
Advanced Perl Programming - O'Reilly 1999.pdf
(5210 KB)
Advanced Perl Programming, 2nd Edition (2005).chm
(857 KB)
Automating Windows with Perl - Miller Freeman 1999.pdf
(821 KB)
Beginning Perl - Wrox 2000.pdf
(4033 KB)
Beginning Perl for Bioinformatics.pdf
(1398 KB)
Inne foldery tego chomika:
Assembly
CodeIgniter
Go
Google
Python
Zgłoś jeśli
naruszono regulamin