Cantitate/Preț
Produs

PHP 8 Objects, Patterns, and Practice: Mastering OO Enhancements, Design Patterns, and Essential Development Tools

Autor Matt Zandstra
en Limba Engleză Paperback – 3 apr 2021

În dezvoltarea sistemelor web moderne, simpla cunoaștere a sintaxei nu mai este suficientă pentru a construi aplicații scalabile. Apreciem la PHP 8 Objects, Patterns, and Practice abordarea sa profund practică, care tratează limbajul PHP nu doar ca pe un instrument de scripting, ci ca pe un ecosistem robust pentru ingineria software. Structura volumului reflectă o progresie logică, de la micro la macro: începe cu fundamentele obiectelor în PHP 8, trece prin complexitatea tiparelor de proiectare (design patterns) și culminează cu infrastructura necesară unui proiect profesional.

Spre deosebire de Learn PHP 8 de Steve Prettyman, care se concentrează pe construirea unei aplicații de la zero într-un mod ghidat, lucrarea lui Matt Zandstra este mai puțin despre un singur proiect și mai mult despre setul de competențe aplicabile universal. Este un ghid de referință pentru arhitectură, fiind mult mai detaliat în zona de enterprise patterns și instrumente de automatizare decât The Art of Modern PHP 8.

Din punct de vedere tehnic, ediția a șasea integrează noutățile majore din PHP 8 — precum promovarea proprietăților în constructor sau tipurile de returnare void — direct în exemplele de cod. Partea finală a cărții este deosebit de valoroasă pentru echipele de dezvoltare, deoarece detaliază managementul dependențelor cu Composer, controlul versiunilor prin Git și testarea automatizată, elemente care transformă codul „elegant” în software gata pentru producție. Această lucrare continuă direcția începută de autor în edițiile anterioare ale seriei PHP 8 Objects, Patterns, and Practice, rafinând conceptele de reflexie și manipulare a erorilor pentru standardele actuale ale industriei.

Citește tot Restrânge

Preț: 31017 lei

Preț vechi: 38771 lei
-20%

Puncte Express: 465

Carte disponibilă

Livrare economică 19 mai-02 iunie


Specificații

ISBN-13: 9781484267905
ISBN-10: 1484267907
Pagini: 833
Ilustrații: XXV, 833 p. 102 illus.
Dimensiuni: 178 x 254 x 53 mm
Greutate: 1.46 kg
Ediția:6th ed.
Editura: Apress
Colecția Apress
Locul publicării:Berkeley, CA, United States

De ce să citești această carte

Recomandăm această carte programatorilor PHP care vor să facă trecerea de la scrierea de scripturi procedurale la arhitecturi orientate pe obiecte, solide și testabile. Cititorul câștigă o înțelegere clară a modului în care design pattern-urile clasice se aplică în ecosistemul PHP 8, primind totodată un manual de utilizare pentru instrumentele indispensabile unui flux de lucru modern, de la Git la Continuous Integration.


Despre autor

Matt Zandstra este un consultant și programator cu o experiență de peste 20 de ani în arhitectura sistemelor și managementul proceselor de dezvoltare. Autor consacrat în literatura tehnică, el a scris titluri de referință precum SAMS Teach Yourself PHP în 24 Hours și a contribuit constant la publicații de prestigiu ca Linux Magazine și Zend.com. Expertiza sa mixtă, acoperind atât PHP cât și Java, îi permite să aducă în comunitatea PHP rigoarea și bunele practici din ingineria software enterprise, transformând seria sa PHP 8 Objects, Patterns, and Practice într-o resursă standard pentru dezvoltatorii seniori.


Cuprins

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.- 
 
Part III. Practice.- 
14. Good (and Bad) Practice.- 
15. PHP Standards.- 
16. PHP Using and Creating Components with Composer.- 
17. Version Control with Git.- 
18. Testing.- 
19. Automated Build with Phing.- 
20. Vagrant.- 
21. Continuous Integration.- 
22. Objects, Patterns, and Practice.- 
23. App A: Bibliography.- 
24. App B: A Simple Parser.

Notă biografică

Matt Zandstra has worked as a web programmer, consultant, and writer for over two decades. 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, among others. Matt was a senior developer/tech lead at Yahoo and API tech lead at LoveCrafts. Matt works as a consultant advising companies on their architectures and system management, and also develops systems primarily with PHP, and Java. Matt also writes fiction.
 

Caracteristici

Helps readers develop elegant and rock-solid systems through mastery of three key elements: object fundamentals, design principles, and development best practice
Fully updated for PHP 8
This is a practical book full of example code

Descriere

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.