Cargando…

Learning PHP 7 high performance : improve the performance of your PHP application to ensure the application users aren't left waiting /

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hussain, Altaf (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2016.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Author
  • Acknowledgement
  • About the Reviewer
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Setting Up the Environment
  • Setting up Windows
  • Setting up Debian or Ubuntu
  • Debian
  • Ubuntu
  • Setting up CentOS
  • Installing NGINX
  • Installing PHP 7
  • Installing Percona Server
  • Setting up Vagrant
  • Summary
  • Chapter 2: New Features in PHP 7
  • OOP features
  • Type hints
  • Scalar type hints
  • Return type hints
  • Namespaces and group use declaration
  • Non mixed group use declarations
  • Mixed group use declarations
  • The compound namespace declaration
  • The anonymous classes
  • Old-style constructor deprecation
  • The throwable interface
  • Error
  • New operators
  • The Spaceship operator ()
  • The null coalesce operator(??)
  • Uniform variable syntax
  • Miscellaneous features and changes
  • Constant arrays
  • Multiple default cases in the switch statement
  • The options array for session_start function
  • Filtered unserialize function
  • Summary
  • Chapter 3: Improving PHP 7 Application Performance
  • NGINX and Apache
  • Apache
  • NGINX
  • HTTP server optimization
  • Caching static files
  • Apache
  • NGINX
  • HTTP persistent connection
  • Apache
  • NGINX
  • GZIP compression
  • Apache
  • NGINX
  • Using PHP as a separate service
  • Disabling unused modules
  • Apache
  • NGINX
  • Web server resources
  • NGINX
  • Content Delivery Network (CDN)
  • Using CDN
  • CSS and JavaScript optimization
  • Merging
  • Minifying
  • Minify
  • GRUNT
  • Full page caching
  • Varnish
  • The infrastructure
  • Web servers
  • The database server
  • Load balancer (LB)
  • HAProxy load balancing
  • HAProxy installation
  • HAProxy load balancing
  • Summary
  • Chapter 4: Improving Database Performance
  • The MySQL database
  • Query caching
  • Storage engines
  • The MyISAM storage engine.
  • The InnoDB storage engine
  • innodb_buffer_pool_size
  • innodb_buffer_pool_instances
  • innodb_log_file_size
  • The Percona Server
  • a fork of MySQL
  • Installing the Percona Server
  • MySQL performance monitoring tools
  • phpMyAdmin
  • The MySQL workbench
  • Percona Toolkit
  • pt-query-digest
  • pt-duplicate-key-checker
  • Percona XtraDB Cluster (PXC)
  • Redis
  • the key-value cache store
  • Connecting with the Redis server
  • Storing and fetching data from the Redis server
  • Redis management tools
  • Memcached key-value cache store
  • Summary
  • Chapter 5: Debugging and Profiling
  • Xdebug
  • Debugging with Sublime Text
  • Debugging with Eclipse
  • Profiling with Xdebug
  • PHP DebugBar
  • Summary
  • Chapter 6: Stress/Load Testing PHP Applications
  • Apache JMeter
  • ApacheBench (ab)
  • Siege
  • Load testing real-world applications
  • Magento 2
  • WordPress 4
  • Drupal 8
  • 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
  • Appendix A: Tools to Make Life Easy
  • Composer
  • A dependency manager for PHP
  • Composer installation
  • Using Composer
  • Git
  • A version control system
  • Git installation
  • Using Git
  • Creating new branches and merging
  • Cloning a repository
  • Webhooks
  • Desktop tools to manage repositories
  • Grunt watch
  • Summary
  • Appendix B: MVC and Frameworks
  • The MVC design pattern
  • Model
  • Views
  • Controllers
  • Laravel
  • Installation
  • Features
  • Routing
  • Eloquent ORM
  • Artisan CLI
  • Migrations
  • Blade templates
  • Other features
  • Lumen
  • Apigility
  • Summary
  • Index.