PHP 8 Objects, Patterns, and Practice
eBook - ePub

PHP 8 Objects, Patterns, and Practice

Mastering OO Enhancements, Design Patterns, and Essential Development Tools

  1. English
  2. ePUB (mobile friendly)
  3. Only available on web
eBook - ePub

PHP 8 Objects, Patterns, and Practice

Mastering OO Enhancements, Design Patterns, and Essential Development Tools

Book details
Table of contents
Citations

About This Book

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.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access PHP 8 Objects, Patterns, and Practice by Matt Zandstra in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Languages. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2021
ISBN
9781484267912
Edition
6

Table of contents

  1. Cover
  2. Front Matter
  3. Part I. Objects
  4. Part II. Patterns
  5. Part III. Practice
  6. Back Matter