-
出版商:
Onyx Neon Press
-
出版日期:
2007-07-21
-
售價:
$1,400
-
貴賓價:
9.5 折
$1,330
-
語言:
英文
-
頁數:
432
-
裝訂:
Paperback
-
ISBN:
0977920119
-
ISBN-13:
9780977920112
-
相關分類:
Perl 程式語言
商品描述
mod_perl 2, the next generation of the Apache Perl module, gives you full access to the Apache 2 internals via the Perl programming language, just as mod_perl 1 gave you access to Apache 1. New features in Apache and Perl make mod_perl 2 even more powerful and useful than before, allowing you to quickly write and deploy fast, robust web applications. As with any major upgrade, there are new features and key changes to mod_perl from the 1.x generation. The mod_perl 2 User's Guide explains these key changes and demonstrates the tools you can use to port modules and migrate your existing code. Improvements in Apache 2 and mod_perl 2 include: * Multi-Processing Model modules (MPMs) allow for process-based and thread-based processing models. The addition of thread support makes mod_perl viable on Win32 and introduces the potential for improved performance on other platforms. * Protocol Modules give Apache and mod_perl the potential to serve any protocol, not just HTTP. * A mod_perl 2 interface to the Apache filtering API gives full access to input and output filters from Perl. * Support for creating custom Apache configuration directives in pure Perl, improved options for passing values to Perl modules from Apache, and greater access to the Apache configuration values. * The Apache::Test framework, useful for Perl and non-Perl Apache modules, allows you to develop fully-tested web applications to verify features and guard against regression. * The ability to easily subclass ModPerl::Registry and override methods as needed. This guide provides installation and configuration guidelines, as well as details on all the ways you can plug into the Apache request cycle. You'll also learn how to write mod_perl handlers to deliver content with rapid response times and to leverage your existing CGI scripts with ModPerl::Registry. Whether you're new to mod_perl or migrating from mod_perl 1, the mod_perl 2 User's Guide will give you the information you need to get up and running on Apache 2 and mod_perl 2. Half of all proceeds from the sale of this book will be donated to The Perl Foundation.
商品描述(中文翻譯)
mod_perl 2是Apache Perl模組的下一代,透過Perl程式語言完全存取Apache 2的內部,就像mod_perl 1讓您存取Apache 1一樣。Apache和Perl的新功能使mod_perl 2比以前更強大和有用,讓您能夠快速編寫和部署快速、強大的網絡應用程式。與任何主要升級一樣,mod_perl 2與1.x代有新功能和重要變更。mod_perl 2使用者指南解釋了這些重要變更,並演示了您可以使用的工具來移植模組並遷移現有代碼。Apache 2和mod_perl 2的改進包括:*多處理模型模組(MPMs)允許基於進程和基於線程的處理模型。添加線程支持使mod_perl在Win32上可行,並引入了在其他平台上改進性能的潛力。*協議模組使Apache和mod_perl有可能提供任何協議,而不僅僅是HTTP。*mod_perl 2對Apache過濾API提供了完全存取Perl的輸入和輸出過濾器的介面。*支持使用純Perl創建自定義Apache配置指令,在Apache中將值傳遞給Perl模組的選項改進,以及更大範圍存取Apache配置值。*Apache::Test框架對於Perl和非Perl Apache模組都很有用,可以開發完全測試的網絡應用程式,以驗證功能並防止回歸。*輕鬆子類化ModPerl::Registry並根據需要覆蓋方法的能力。本指南提供安裝和配置指南,以及有關所有可以插入Apache請求週期的方法的詳細信息。您還將學習如何編寫mod_perl處理程序以實現快速響應時間並利用現有的CGI腳本與ModPerl::Registry。無論您是新手還是從mod_perl 1遷移,mod_perl 2使用者指南都將為您提供在Apache 2和mod_perl 2上運行所需的信息。本書銷售收益的一半將捐贈給Perl基金會。