Learning PHP 7 High Performance Год издания: 2016 Автор: Altaf Hussain Издательство: Packt Publishing ISBN: 978-1-78588-163-3 Язык: Английский Формат: PDF/EPUB Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 202 Описание: Improve the performance of your PHP application to ensure the application users aren't left waiting About This Book Make the optimum use of PHP coding to improve your programming productivity Leverage the potential of PHP for server-side programming, memory management, and object-oriented programming Packed with real-life examples to help the readers implement concepts as they learn Who This Book Is For This book is for those who have basic experience in PHP programming. If you are developing performance-critical applications, then this book is for you. 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 In Detail 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.
Примеры страниц
Оглавление
Preface Chapter 1: Setting Up the Environment Setting up Windows Setting up Debian or Ubuntu Setting up CentOS Setting up Vagrant 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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum