Overview
This course has been created for PHP programmers and website developers interested in PHP code optimization.
The course shows how to find a bottleneck and how to refactor or change the code in the appropriate way.
During this course, participants will deal with real web page examples which will be tracked, analysed and optimized.
Requirements
- PHP programming knowledge
Course Outline
Stress Testing with JMeter
- Identifying what you need to test
- Mimicking the real world in JMeter
- Extracting and reading the results
Finding Bottlenecks
- Introduction to Debuggers
- Stack Traces
- Function Traces
- Code Coverage Analysis
- Profiling PHP Scripts
- Remote Debugging
- Profilers
Use Code Caches, Shared memory and Opcodes
- Tuning Opcode
- APCu
- Alternatives to shared memory
- XDebug
- Zend Optimizers
- Other solutions
Parallel Processing
- Ajax
- Curl
- PHP 7 new features
MySQL Optimization
- Finding slow queries
- Finding most frequent queries
- Caching
- Indexing