Develop elegant and rock-solid systems using PHP, aided by three key elements: 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.

Les mer

Part I. Objects.- 1. PHP: Design and Management.- 2. PHP and Objects.- 3. Object Basics.- 4. Advanced Features.- 5. Object Tools.- 6. Objects and Design.- Part II. Patterns.- 7. What Are Design Patterns? Why Use Them?.- 8. Some Pattern Principles.- 9. Generating Objects.- 10. Patterns for Flexible Object Programming.- 11. Performing and Representing Tasks.- 12. Enterprise Patterns.- 13. Database Patterns.

Les mer

Develop elegant and rock-solid systems using PHP, aided by three key elements: 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.

You will:

  • 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.
Les mer
Develop elegant and rock-solid systems through mastery of object and design fundamentals Fully updated for PHP 8.3 This is a practical book full of example code
GPSR Compliance The European Union's (EU) General Product Safety Regulation (GPSR) is a set of rules that requires consumer products to be safe and our obligations to ensure this. If you have any concerns about our products you can contact us on ProductSafety@springernature.com. In case Publisher is established outside the EU, the EU authorized representative is: Springer Nature Customer Service Center GmbH Europaplatz 3 69115 Heidelberg, Germany ProductSafety@springernature.com
Les mer

Produktdetaljer

ISBN
9798868804816
Publisert
2024-12-02
Utgave
7. utgave
Utgiver
Vendor
Apress
Høyde
254 mm
Bredde
178 mm
Aldersnivå
Professional/practitioner, P, 06
Språk
Product language
Engelsk
Format
Product format
Heftet

Forfatter

Biographical note

Matt Zandstra has worked as a web programmer, consultant, and writer for over two decades. In addition to this book, he is the author of SAMS Teach Yourself PHP in 24 Hours (three editions) and is a contributor to DHTML Unleashed. He has written articles for Linux Magazine, Zend, IBM DeveloperWorks, and php|architect Magazine, and also writes fiction. 

Matt was a senior developer/tech lead at Yahoo and API tech lead at LoveCrafts. He now runs an agency that advises companies on their architectures and system management, and develops systems primarily with PHP, Python, and Java.