Web, graphics, and Perl/TK best of the Perl journal

In its first five years of existence, The Perl Journal (TPJ) became the voice of the Perl community. Every serious Perl programmer subscribed to it, and every notable Perl guru jumped at the opportunity to write for it. TPJ explained critical Perl topics and demonstrated Perl's utility for fie...

Descripción completa

Detalles Bibliográficos
Otros Autores: Orwant, Jon, author (author), Orwant, Jon, editor (editor)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing ; Cambridge, Massachusetts : O'Reilly [2003]
Edición:First edition
Colección:Best of the Perl journal series
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628028006719
Tabla de Contenidos:
  • Table of Contents; Preface; Finding Perl Resources; Conventions Used in This Book; Comments and Questions; Acknowledgments; Introduction; Part I; CGI Programming; CGI Programming Without CGI.pm; The CGI.pm Module; Saving CGI State; State in CGI Scripts; A Sample State-Maintaining CGI Script; Cookies; Creating Cookies; Retrieving Cookies; A Sample Cookie Program; mod_perl; Transaction Handlers; A Typical Content Handler; Apache::Registry; A Typical Non-Content Handler; Getting Fancy: A Stately Script; Impaled by the Fork; Other mod_perl Features; Creating mod_perl Applications
  • So, What Is This mod_perl Thing, Anyhow?Developing with mod_perl; Apache::Registry; Embperl; Writing Your Own Handler; Performance; Preload Your Modules; Use Multiple Servers; Our Sample Application; Components; DBI and Apache::DBI; Apache::AuthDBI; Apache::Sandwich; Writing the Application Code; Database Setup; TopTenTrans.pm; index.epl; rateit; ttadmin; Putting It All Together; httpd.conf; Proxying with mod_perl; Why Proxy?; How the Proxy Protocol Works; Identifying Ads; Authentication with mod_perl; Access Control; Authentication; Windows Domain Server Authentication
  • More NT AuthenticationAuthorization; Basic Authorization; More Sophisticated Authorization; Conclusion; Navigation Bars with mod_perl; The Configuration File; Activating the Navigation Bar; Generating the Navigation Bar; A Foundation to Build On; Scripting the Web with LWP; Five Quick Hacks: Downloading Web Pages; Downloading Currency Exchange Rates; Downloading Weather Information; Downloading News Stories; Completing U.S. Postal Addresses; Downloading Stock Quotes; Conclusion; Afterword; Downloading Web Pages Through a Proxy Server; Afterword; HTML::Parser; Getting Started
  • The Identity ParserThe HTML Tag Stripper; Another Example: HTML Summaries; Another Fictional Example; Using HTML::Parser Version 3; Acknowledgments; Scanning HTML; HTML::Parser, HTML::TreeBuilder, and HTML::Element; Scanning HTML Trees; Complex Criteria in Tree Scanning; A Case Study: Scanning Yahoo! News; Regardez, Duvet!; A Web Spider in One Line; Callbacks and Closures; Cascading Arrows; Using Modules with One-Liners; The End; webpluck; Similar Tools; How to Use webpluck; How webpluck Works; The Dark Side of the Force; Identify Yourself; Don't Overload a Site; Obey Robot Exclusion Rules
  • Torture-Testing Web Servers and CGI ScriptsThe Code; Wrapping Up; Securing Your CGI Scripts; The Example Script; Designing the Script; The chat2.pl Library; Oops; The CGI Script; The Rest of the Script; Caveats; Building Web Sites with Mason; What Is Mason?; SSI Redux; Form Versus Function; Installation; Building a Dynamic Site; Headers and Footers; Passing Parameters; Default Handlers and XML; Accessing MySQL; What Now?; Surreal HTML; How It Works; Prompting the User; Fetching the Document; Running the Travesty Algorithm; Printing the Mangled Document; Web Page Tastefulness; How It Works
  • The Tag