買這商品的人也買了...
-
$880$581 -
$880$695 -
$780$702 -
$650$199 -
$788PHP Objects, Patterns and Practice, 2/e (Paperback)
-
$1,575$1,496 -
$900CentOS Bible (Paperback)
-
$980$833 -
$580$493 -
$820$648 -
$900$855 -
$490$382 -
$580$493 -
$520$406 -
$520$406 -
$560$437 -
$420$412 -
$580$458 -
$650$553 -
$1,720$1,634 -
$600$540 -
$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 強調如何通過充分利用 GNU/Linux 和 Microsoft Windows 作業系統來改善主機效能和可靠性,以支援 PHP 應用程式的高效運行。關於網頁伺服器改進和資料庫管理的其他提示也有助於完善整體效能。最後,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