Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning PHP 7 High Performance

You're reading from   Learning PHP 7 High Performance Improve the performance of your PHP application to ensure the application users aren't left waiting

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher Packt
ISBN-13 9781785882265
Length 202 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Iltaf (Altaf) Hussain Gul Iltaf (Altaf) Hussain Gul
Author Profile Icon Iltaf (Altaf) Hussain Gul
Iltaf (Altaf) Hussain Gul
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Setting Up the Environment FREE CHAPTER 2. New Features in PHP 7 3. Improving PHP 7 Application Performance 4. Improving Database Performance 5. Debugging and Profiling 6. Stress/Load Testing PHP Applications 7. Best Practices in PHP Programming A. Tools to Make Life Easy B. MVC and Frameworks Index

What this book covers

Chapter 1, Setting Up the Environment, covers how to set up different development environments, including the installation of NGINX, PHP 7, and Percona Server on Windows, different Linux distros, and setting up the Vagrant virtual machine for development purposes.

Chapter 2, New Features in PHP 7, covers the major new features introduced in PHP 7, including Type Hints, Group use Declarations, Anonymous classes, and new operators, such as Spaceship operator, Null Coalesce operators, and the Uniform variable syntax.

Chapter 3, Improving PHP 7 Application Performance, covers different techniques to increase and scale a PHP 7 application's performance. In this chapter, we cover optimization of NGINX and Apache, CDN, and CSS/JavaScript, such as merging and minifying them, full-page caching, and installing and configuring Varnish. At last, we discuss an ideal infrastructure setup for application development.

Chapter 4, Improving Database Performance, covers techniques to optimize MySQL and Percona Server configuration for high performance. Also, it covers different tools to monitor the performance of a database. It also covers Memcached and Redis for caching objects.

Chapter 5, Debugging and Profiling, covers debugging and profiling techniques including the use of Xdebug for debugging and profiling, debugging with Sublime Text 3 and Eclipse, and the PHP DebugBar.

Chapter 6, Stress/Load Testing PHP Applications, covers different tools to stress and load test the application. It covers Apache JMeter, ApacheBench, and Siege for load testing. It also covers how to load test different open source systems such as Magento, Drupal, and WordPress on PHP 7 and PHP 5.6, and compares their performance on PHP 7 and PHP 5.6.

Chapter 7, Best Practices in PHP Programming, covers a few best practices for producing quality standard code. It covers coding styles, design patterns, service-oriented architecture, test-driven development, Git, and deployments.

Appendix A, Tools to Make Life Easy, discusses three of these tools in much more detail. The tools we will discuss are Composer, Git, and Grunt watch.

Appendix B, MVC and Frameworks, covers MVC design patterns and the most popular frameworks that are used in PHP development, which include Laravel, Lumen, and Apigility.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image