更新时间:2021-07-16 11:23:41
coverpage
Learning PHP 7 High Performance
Credits
About the Author
Acknowledgement
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Setting Up the Environment
Setting up Windows
Setting up Debian or Ubuntu
Setting up CentOS
Setting up Vagrant
Summary
Chapter 2. New Features in PHP 7
OOP features
New operators
Uniform variable syntax
Miscellaneous features and changes
Chapter 3. Improving PHP 7 Application Performance
NGINX and Apache
HTTP server optimization
HTTP persistent connection
Content Delivery Network (CDN)
CSS and JavaScript optimization
Full page caching
Varnish
The infrastructure
Chapter 4. Improving Database Performance
The MySQL database
Storage engines
The Percona Server - a fork of MySQL
MySQL performance monitoring tools
Percona XtraDB Cluster (PXC)
Redis – the key-value cache store
Memcached key-value cache store
Chapter 5. Debugging and Profiling
Xdebug
Profiling with Xdebug
PHP DebugBar
Chapter 6. Stress/Load Testing PHP Applications
Apache JMeter
ApacheBench (ab)
Siege
Load testing real-world applications
Chapter 7. Best Practices in PHP Programming
Coding styles
Test-driven development (TDD)
Design patterns
Service-oriented architecture (SOA)
Being object-oriented and reusable always
PHP frameworks
Version control system (VCS) and Git
Deployment and Continuous Integration (CI)
Appendix A. Tools to Make Life Easy
Composer – A dependency manager for PHP
Git – A version control system
Grunt watch
Appendix B. MVC and Frameworks
The MVC design pattern
Laravel
Lumen
Apigility
Index