Learning PHP 7 High Performance

Improve the performance of your PHP application to ensure the application users aren't left waiting
Preview in Mapt

Learning PHP 7 High Performance

Altaf Hussain

Improve the performance of your PHP application to ensure the application users aren't left waiting
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning PHP 7 High Performance Book Cover
Learning PHP 7 High Performance
$ 31.99
$ 22.40
Rust High Performance Book Cover
Rust High Performance
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781785882265
Paperback202 pages

Book Description

PHP is a great language for building web applications. It is essentially a server-side scripting language that is also used for general-purpose programming. PHP 7 is the latest version, providing major backward-compatibility breaks and focusing on high performance and speed.

This fast-paced introduction to PHP 7 will improve your productivity and coding skills. The concepts covered will allow you, as a PHP programmer, to improve the performance standards of your applications. We will introduce you to the new features in PHP 7 and then will run through the concepts of object-oriented programming (OOP) in PHP 7. Next, we will shed some light on how to improve your PHP 7 applications' performance and database performance. Through this book, you will be able to improve the performance of your programs using the various benchmarking tools discussed.

At the end, the book discusses some best practices in PHP programming to help you improve the quality of your code.

Table of Contents

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
Summary
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
Summary
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
Summary
Chapter 5: Debugging and Profiling
Xdebug
Profiling with Xdebug
PHP DebugBar
Summary
Chapter 6: Stress/Load Testing PHP Applications
Apache JMeter
ApacheBench (ab)
Siege
Load testing real-world applications
Summary
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)
Summary

What You Will Learn

  • Setup high performance development and production environment for PHP 7
  • Discover new OOP features in PHP 7 to achieve high performance
  • Improve your PHP applications' performance
  • Attain improved database performance
  • Benchmark PHP applications to optimize them
  • Write quality code by learning to improve code reusability, simplicity, and expressiveness
  • Get rid of the bottlenecks in your PHP 7 applications by writing PHP code optimally
  • Tackle issues related to web applications, such as high user dependency and large datasets

Authors

Table of Contents

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
Summary
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
Summary
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
Summary
Chapter 5: Debugging and Profiling
Xdebug
Profiling with Xdebug
PHP DebugBar
Summary
Chapter 6: Stress/Load Testing PHP Applications
Apache JMeter
ApacheBench (ab)
Siege
Load testing real-world applications
Summary
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)
Summary

Book Details

ISBN 139781785882265
Paperback202 pages
Read More

Read More Reviews

Recommended for You

PHP 7 Programming Cookbook Book Cover
PHP 7 Programming Cookbook
$ 39.99
$ 28.00
Modular Programming with PHP 7 Book Cover
Modular Programming with PHP 7
$ 39.99
$ 28.00
Mastering PHP Design Patterns Book Cover
Mastering PHP Design Patterns
$ 35.99
$ 25.20
PHP 7 Programming Blueprints Book Cover
PHP 7 Programming Blueprints
$ 35.99
$ 25.20
PHP Microservices Book Cover
PHP Microservices
$ 35.99
$ 25.20
PHP 7: Real World Application Development Book Cover
PHP 7: Real World Application Development
$ 69.99
$ 49.00