Pro PHP Application Performance: Tuning PHP Web Projects for Maximum Performance (Paperback)
暫譯: 專業 PHP 應用程式效能:調整 PHP 網頁專案以達到最佳效能 (平裝本)
Armando Padilla, DUPTim Hawkins
買這商品的人也買了...
-
$880$695 -
$880$695 -
$780$663 -
$650$553 -
$788PHP Objects, Patterns and Practice, 2/e (Paperback)
-
$1,575$1,496 -
$1,080CentOS Bible (Paperback)
-
$980$774 -
$580$493 -
$820$648 -
$900$855 -
$490$382 -
$580$458 -
$520$406 -
$520$406 -
$560$437 -
$420$412 -
$580$458 -
$650$514 -
$1,720$1,634 -
$600$510 -
$850$723 -
$580$458 -
$550$468 -
$480$384
商品描述
This book contains tips, tricks, and techniques to make new and existing PHP applications much faster and less resource-hungry. Author Armando Padilla looks at all major sections of the PHP application stack—from server hardware to database and web server performance. PHP program application performance is the center of this book, and Padilla shows you how to improve performance by best practices, proper design, and best-of-breed tools.
Padilla starts out by establishing performance testing and benchmarking methodology using common open source and browser-based testing tools. He then discusses best practices for PHP development, and also explains refactoring existing code, both with performance in mind. In addition to best coding practices, this book will teach you how to use and tweak Opcode caches such as APC, XCache, and eAccelerator.
Padilla then highlights how to support the efficient running of PHP applications, tweaks and settings by taking advantage of the GNU/Linux and Microsoft Windows operating systems to improve hosting performance and reliability. Additional tips on web server improvements and database administration help round out the picture. Finally, Padilla presents some hardware example configurations tuned for high performance.
What you’ll learn
- How to improve the performance of existing PHP applications
- How to maximize the performance of existing operating systems and databases
- How to refactor existing PHP code for better performance
- How to identify and rectify bottlenecks in PHP code
- How to take advantage of variable caching to increase performance
- Strategies for selecting server hardware for best performance
Who this book is for
This book will appeal to established PHP developers who wish to write new, complex applications or want to rearchitect existing ones. Developers of other languages such as Ruby, Python, and VB.NET will also have an interest in the techniques for tuning the performance of web servers, databases, and operating systems.
Table of Contents
- Benchmarking Techniques
- Improving Client Download and Rendering Performance
- PHP Code Optimization
- Opcode Caching
- Variable Caching
- Choosing the Right Web Server
- Web Server and Delivery Optimization
- Database Optimization
- Installing Apache, MySQL, PHP, and PECL on Windows
- Installing Apache, MySQL, PHP, and PECL on Linux
商品描述(中文翻譯)
這本書包含了使新的和現有的 PHP 應用程式更快且更少資源消耗的技巧、竅門和技術。作者 Armando Padilla 針對 PHP 應用程式堆疊的所有主要部分進行探討——從伺服器硬體到資料庫和網頁伺服器的效能。PHP 程式應用程式的效能是本書的核心,Padilla 向您展示如何通過最佳實踐、適當的設計和最優質的工具來改善效能。
Padilla 首先建立了使用常見的開源和基於瀏覽器的測試工具進行效能測試和基準測試的方法論。接著,他討論了 PHP 開發的最佳實踐,並解釋了如何在考慮效能的情況下重構現有代碼。除了最佳編碼實踐外,本書還將教您如何使用和調整 Opcode 快取,例如 APC、XCache 和 eAccelerator。
接下來,Padilla 強調如何支持 PHP 應用程式的高效運行,通過利用 GNU/Linux 和 Microsoft Windows 操作系統的調整和設置來改善主機效能和可靠性。關於網頁伺服器改進和資料庫管理的額外提示幫助完善整體圖景。最後,Padilla 提出了一些針對高效能調整的硬體範例配置。
您將學到的內容:
- 如何改善現有 PHP 應用程式的效能
- 如何最大化現有操作系統和資料庫的效能
- 如何重構現有 PHP 代碼以獲得更好的效能
- 如何識別和修正 PHP 代碼中的瓶頸
- 如何利用變數快取來提高效能
- 選擇最佳效能伺服器硬體的策略
本書適合對象:
這本書將吸引希望編寫新的複雜應用程式或想要重新架構現有應用程式的成熟 PHP 開發者。其他語言的開發者,如 Ruby、Python 和 VB.NET,也會對調整網頁伺服器、資料庫和操作系統效能的技術感興趣。
目錄:
1. 基準測試技術
2. 改善客戶端下載和渲染效能
3. PHP 代碼優化
4. Opcode 快取
5. 變數快取
6. 選擇合適的網頁伺服器
7. 網頁伺服器和交付優化
8. 資料庫優化
9. 在 Windows 上安裝 Apache、MySQL、PHP 和 PECL
10. 在 Linux 上安裝 Apache、MySQL、PHP 和 PECL