The Art of Modern PHP 8: Learn how to write modern, performant, and enterprise-ready code with the latest PHP features and practices
暫譯: 現代 PHP 8 藝術:學習如何使用最新的 PHP 特性和實踐編寫現代、高效能及企業級的程式碼
Edmonds, Joseph
- 出版商: Packt Publishing
- 出版日期: 2021-10-26
- 售價: $1,830
- 貴賓價: 9.5 折 $1,739
- 語言: 英文
- 頁數: 420
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1800566158
- ISBN-13: 9781800566156
-
相關分類:
PHP
海外代購書籍(需單獨結帳)
相關主題
商品描述
Discover how to apply the principles of OOP, types, and package management the right way
Key Features:
- Explore the latest PHP 8.1 features and modern web development practices
- Refactor your legacy codebase using modern features and styles in PHP
- Create your own Composer packages that can be reused across all PHP projects
Book Description:
PHP has come a long way since its introduction. While the language has evolved with PHP 8, there are still a lot of websites running on a version of PHP that is no longer supported. If you are a PHP developer working with legacy PHP systems and want to discover the tenants of modern PHP, this is the book for you.
The Art of Modern PHP 8 walks you through the latest PHP features and language concepts. The book helps you upgrade your knowledge of PHP programming and practices. Starting with object-oriented programming (OOP) in PHP and related language features, you'll work through modern programming techniques such as inheritance, understand how it contrasts with composition, and finally look at more advanced language features. You'll learn about the MVC pattern by developing your own MVC system and advance to understanding what a DI container does by building a toy DI container. The book gives you an overview of Composer and how to use it to create reusable PHP packages. You'll also find techniques for deploying these packages to package libraries for other developers to explore.
By the end of this PHP book, you'll have equipped yourself with modern server-side programming techniques using the latest versions of PHP.
What You Will Learn:
- Understand how to use modern PHP features such as objects, types, and more
- Get to grips with PHP package management using Composer
- Explore dependency injection for your PHP applications
- Find out what the differences are between legacy and modern PHP 8 code and practices
- Write clean PHP code and implement design patterns
- Get hands-on with modern PHP using examples applying MVC and DI techniques
Who this book is for:
The book is for existing PHP developers and CTO-level professionals who are working with PHP technologies, including legacy PHP, in production. The book assumes beginner-level knowledge of PHP programming as well as experience with server-side development.
商品描述(中文翻譯)
發現如何正確應用物件導向程式設計(OOP)、類型和套件管理的原則
主要特色:
- 探索最新的 PHP 8.1 功能和現代網頁開發實踐
- 使用 PHP 的現代功能和風格重構您的舊有程式碼庫
- 創建可以在所有 PHP 專案中重複使用的 Composer 套件
書籍描述:
自從 PHP 被引入以來,已經走過了很長的路。雖然這個語言隨著 PHP 8 的演進而發展,但仍有許多網站運行在不再受支持的 PHP 版本上。如果您是一位正在處理舊有 PHP 系統的 PHP 開發者,並希望了解現代 PHP 的基本原則,那麼這本書就是為您而寫的。
《現代 PHP 8 的藝術》將帶您了解最新的 PHP 功能和語言概念。這本書幫助您提升對 PHP 程式設計和實踐的知識。從 PHP 中的物件導向程式設計(OOP)及相關語言特性開始,您將學習現代程式設計技術,例如繼承,了解其與組合的對比,並最終探討更高級的語言特性。您將通過開發自己的 MVC 系統來學習 MVC 模式,並通過構建一個玩具 DI 容器來進一步理解 DI 容器的功能。這本書還提供了 Composer 的概述以及如何使用它來創建可重用的 PHP 套件。您還會找到將這些套件部署到其他開發者可以探索的套件庫的技術。
在這本 PHP 書的結尾,您將掌握使用最新版本 PHP 的現代伺服器端程式設計技術。
您將學到什麼:
- 了解如何使用現代 PHP 功能,例如物件、類型等
- 掌握使用 Composer 進行 PHP 套件管理
- 探索您的 PHP 應用程式中的依賴注入
- 了解舊有 PHP 與現代 PHP 8 代碼和實踐之間的差異
- 撰寫乾淨的 PHP 代碼並實施設計模式
- 通過應用 MVC 和 DI 技術的範例,實際操作現代 PHP
本書適合誰:
本書適合現有的 PHP 開發者和在生產環境中使用 PHP 技術(包括舊有 PHP)的 CTO 級專業人士。這本書假設讀者具備初級的 PHP 程式設計知識以及伺服器端開發的經驗。