Jump to ratings and reviews
Rate this book

PHP 8 Objects, Patterns, and Practice: Volume 1: Mastering OO Enhancements and Design Patterns

Rate this book
Develop elegant and rock-solid systems using PHP, aided by three key object fundamentals, design principles, and best practices. Now in its 7th edition, this book has been fully updated for PHP 8.3 and split into two volumes to better accommodate its wealth of new content. Volume 1 covers objects and patterns, while Volume 2 focuses on tools and best practices.



You’ll begin this volume by reviewing PHP's object-oriented features including key topics such as class declarations, inheritance, and reflection. The second part of the book is devoted to design patterns. It explains the principles that make patterns powerful and covers many of the classic design patterns, as well as enterprise and database patterns.



This volume provides a solid grounding in PHP's support for objects and builds on this foundation to apply the core principles of software design. New topics covered include read only classes, enumerations, typed class constants, as well as various additions to argument and return types. The knowledge gained from this book will help you master the object-oriented enhancements and the design patterns available for PHP 8, paving the way for developing best practices in Volume 2.



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.
Manage error conditions with exceptions and create abstract classes and interfaces.
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.


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.

652 pages, Paperback

Published December 2, 2024

2 people are currently reading
1 person want to read

About the author

Matt Zandstra

28 books13 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (100%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.