-
出版商:
Onyx Neon Press
-
出版日期:
2007-07-21
-
售價:
$1,420
-
貴賓價:
9.5 折
$1,349
-
語言:
英文
-
頁數:
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 的新手還是從 mod_perl 1 遷移而來,mod_perl 2 使用者指南將為您提供在 Apache 2 和 mod_perl 2 上啟動和運行所需的信息。本書銷售所得的一半將捐贈給 Perl 基金會。