PHP 8 Objects, Patterns, and Practice: Mastering Oo Enhancements, Design Patterns, and Essential Development Tools 6/e
暫譯: PHP 8 物件、模式與實務:精通物件導向增強、設計模式與必要開發工具 第6版

Zandstra, Matt

  • 出版商: Apress
  • 出版日期: 2021-04-03
  • 售價: $2,240
  • 貴賓價: 9.5$2,128
  • 語言: 英文
  • 頁數: 833
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484267907
  • ISBN-13: 9781484267905
  • 相關分類: PHPDesign Pattern
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

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.

 

 

 

 

商品描述(中文翻譯)

學習如何使用 PHP 開發優雅且穩固的系統,這得益於三個關鍵要素:物件基礎、設計原則和最佳實踐。本書的第六版已全面更新至 PHP 8,包括屬性、建構子屬性提升、新的參數和返回偽類型等功能。它還涵蓋了自上版以來的許多新特性,包括類型屬性、空合併運算子和空返回類型。本書提供了 PHP 對物件支持的堅實基礎,並在此基礎上灌輸軟體設計的核心原則,然後介紹開發、測試和部署穩健代碼所需的工具和實踐。

《PHP 8 物件、模式與實踐》首先介紹 PHP 的物件導向特性。它介紹了關鍵主題,包括類別聲明、繼承和反射。接下來的部分專注於設計模式,解釋了使模式強大的原則。您將涵蓋許多經典的設計模式,包括企業模式和資料庫模式。本書的最後一部分涵蓋了幫助將優秀代碼轉化為成功專案的工具和實踐。該部分展示了如何使用 git 管理多位開發者和版本釋出,以及如何使用 Composer 管理構建和依賴。它還探討了自動化測試和持續集成的策略。

在閱讀和使用本書後,您將掌握物件導向增強、設計模式以及可用於 PHP 8 的基本開發工具。

您將學到的內容:

- 處理物件基礎:撰寫類別和方法、實例化物件,並使用繼承創建強大的類別層次結構
- 精通進階物件導向特性,包括靜態方法和屬性、使用例外管理錯誤條件,以及創建抽象類別和介面
- 理解並使用設計原則,將物件和類別有效地部署到您的專案中
- 發現一組強大的模式,您可以在自己的專案中實現
- 確保專案成功,包括單元測試;版本控制和構建、安裝及套件管理;以及持續集成

本書適合對象:

任何對 PHP 具有基本知識的人,想在其專案中使用物件導向特性。它也適合希望了解能使專案安全、優雅和穩定的實踐和工具(版本控制、測試、持續集成等)的 PHP 程式設計師。

作者簡介

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.

作者簡介(中文翻譯)

馬特·贊德斯特拉(Matt Zandstra)在網頁程式設計、顧問和寫作方面擁有超過二十年的經驗。他是SAMS Teach Yourself PHP in 24 Hours(三個版本)的作者,並且是DHTML Unleashed的貢獻者。他曾為《Linux Magazine》、《Zend》、《IBM DeveloperWorks》和《php-architect Magazine》等多個出版物撰寫文章。馬特曾擔任雅虎的高級開發人員/技術負責人,以及LoveCrafts的API技術負責人。馬特目前作為顧問,為公司提供架構和系統管理方面的建議,並主要使用PHP和Java開發系統。馬特也從事小說寫作。

最後瀏覽商品 (20)