PHP 8 Objects, Patterns, and Practice

PHP 8 Objects, Patterns, and Practice
PDF, ePUB
  • eBook:
    PHP 8 Objects, Patterns, and Practice: Mastering OO Enhancements, Design Patterns, and Essential Development Tools
  • Author:
    Matt Zandstra
  • Edition:
    6 edition
  • Categories:
  • Data:
    April 23, 2021
  • ISBN:
    1484267907
  • ISBN-13:
    9781484267905
  • Language:
    English
  • Pages:
    858 pages
  • Format:
    PDF, ePUB

Book Description
Learn how to develop elegant and rock-solid systems using PHP, aided by three key elements: object fundamentals, design principles, and best practices. The 6th edition of this popular book has been fully updated for PHP 8, including attributes, constructor property promotion, new argument and return pseudo-types, and more. It also covers many features new since the last edition including typed properties, the null coalescing operator, and void return types. This book provides a solid grounding in PHP's support for objects, it builds on this foundation to instill core principles of software design and then covers the tools and practices needed to develop, test, and deploy robust code.

PHP 8 Objects, Patterns, and Practice begins by covering PHP's object-oriented features. It introduces key topics including class declarations, inheritance, and reflection. The next section is devoted to design patterns. It explains the principles that make patterns powerful. You’ll cover many of the classic design patterns including enterprise and database patterns. The last segment of the book covers the tools and practices that can help turn great code into a successful project. The section shows how to manage multiple developers and releases with git, and how to manage builds and dependencies with Composer. It also explores strategies for automated testing and continuous integration.
After reading and using this book, you will have mastered object-oriented enhancements, design patterns, and the essential development tools available for PHP 8. 
What You Will Learn
  • Work with object fundamentals: write classes and methods, instantiate objects, and create powerful class hierarchies using inheritance
  • Master advanced object-oriented features, including static methods and properties, managing error conditions with exceptions, and creating abstract classes and interfaces
  • Understand and use design principles to deploy objects and classes effectively in your projects
  • Discover a set of powerful patterns that you can implement in your own projects
  • Guarantee a successful project including unit testing; version control and build, installation, and package management; and continuous integration
Who This Book Is For
Anyone with at least a basic knowledge of PHP who wants to use its object-oriented features in their projects. It is also for PHP coders who want to learn about the practices and tools (version control, testing, continuous integration, etc) that can make projects safe, elegant and stable.

Content

Part I: Objects
Chapter 1: PHP: Design and Management
Chapter 2: PHP and Objects
Chapter 3: Object Basics
Chapter 4: Advanced Features
Chapter 5: Object Tools
Chapter 6: Objects and Design

Part II: Patterns
Chapter 7: What Are Design Patterns? Why Use Them?
Chapter 8: Some Pattern Principles
Chapter 9: Generating Objects
Chapter 10: Patterns for Flexible Object Programming
Chapter 11: Performing and Representing Tasks
Chapter 12: Enterprise Patterns
Chapter 13: Database Patterns

Part III: Practice
Chapter 14: Good (and Bad) Practice
Chapter 15: PHP Standards
Chapter 16: PHP Using and Creating Components with Composer
Chapter 17: Version Control with Git
Chapter 18: Testing with PHPUnit
Chapter 19: Automated Build with Phing
Chapter 20: Vagrant
Chapter 21: Continuous Integration
Chapter 22: Objects, Patterns, Practice

Download PHP 8 Objects, Patterns, and Practice: Mastering OO Enhancements, Design Patterns, and Essential Development Tools PDF or ePUB format free


Free sample

Download in .PDF format



Download in .ePUB format


Add comments
Прокомментировать
Введите код с картинки:*
reload, if the code cannot be seen
Copyright © 2019