Modular Programming with PHP 7
暫譯: 使用 PHP 7 的模組化程式設計
Branko Ajzele
- 出版商: Packt Publishing
- 出版日期: 2016-09-12
- 售價: $2,200
- 貴賓價: 9.5 折 $2,090
- 語言: 英文
- 頁數: 332
- 裝訂: Paperback
- ISBN: 1786462958
- ISBN-13: 9781786462954
-
相關分類:
PHP、R 語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Utilize the power of modular programming to improve code readability, maintainability, and testability
About This Book
- This book demonstrates code reusability and distributed development to get high speed, maintainable, and fast applications
- It illustrates the development of a complete modular application developed using PHP7 in detail
- This book provides a high-level overview of the Symfony framework, a set of tools and a development methodology that are needed to build a modular web shop application
Who This Book Is For
This step-by-step guide is divided into two sections. The first section explores all the fundamentals of modular design technique with respect to PHP 7. The latter section demonstrates the practical development of individual modules of a web shop application.
What You Will Learn
- Discover the new features of PHP 7 that are relevant to modular application development
- Write manageable code based on the GoF design patterns and SOLID principles
- Define the application requirements of a working modular application
- Explore the ins and outs of the Symfony framework
- Build a set of modules based on the Symfony framework that comprise a simple web shop app
- Use core modules to set the structure and dependencies for other modules to use
- Set up entities that are relevant to the module functionality and see how to manage these entities
In Detail
Modular design techniques help you build readable, manageable, reusable, and more efficient codes. PHP 7, which is a popular open source scripting language, is used to build modular functions for your software. With this book, you will gain a deep insight into the modular programming paradigm and how to achieve modularity in your PHP code.
We start with a brief introduction to the new features of PHP 7, some of which open a door to new concepts used in modular development. With design patterns being at the heart of all modular PHP code, you will learn about the GoF design patterns and how to apply them. You will see how to write code that is easy to maintain and extend over time with the help of the SOLID design principles.
Throughout the rest of the book, you will build different working modules of a modern web shop application using the Symfony framework, which will give you a deep understanding of modular application development using PHP 7.
Style and approach
This book is for intermediate-level PHP developers with little to no knowledge of modular programming who want to understand design patterns and principles in order to better utilize the existing frameworks for modular application development.
商品描述(中文翻譯)
利用模組化程式設計的力量來改善程式碼的可讀性、可維護性和可測試性
關於本書
- 本書展示了程式碼重用和分散式開發,以獲得高效、可維護和快速的應用程式
- 詳細說明了使用 PHP7 開發完整模組化應用程式的過程
- 本書提供了 Symfony 框架的高層次概述,這是一組構建模組化網路商店應用程式所需的工具和開發方法論
本書適合誰
本逐步指南分為兩個部分。第一部分探討與 PHP 7 相關的模組設計技術的所有基本概念。後一部分展示了網路商店應用程式各個模組的實際開發。
您將學到什麼
- 探索與模組化應用程式開發相關的 PHP 7 新功能
- 根據 GoF 設計模式和 SOLID 原則撰寫可管理的程式碼
- 定義可運作的模組化應用程式的應用需求
- 深入了解 Symfony 框架的各個方面
- 基於 Symfony 框架構建一組模組,組成一個簡單的網路商店應用程式
- 使用核心模組設置其他模組使用的結構和依賴
- 設置與模組功能相關的實體,並了解如何管理這些實體
詳細內容
模組化設計技術幫助您構建可讀、可管理、可重用和更高效的程式碼。PHP 7 是一種流行的開源腳本語言,用於為您的軟體構建模組化功能。通過本書,您將深入了解模組化程式設計範式以及如何在 PHP 程式碼中實現模組化。
我們首先簡要介紹 PHP 7 的新功能,其中一些為模組開發中使用的新概念打開了大門。設計模式是所有模組化 PHP 程式碼的核心,您將學習 GoF 設計模式及其應用。您將看到如何撰寫易於維護和隨時間擴展的程式碼,並借助 SOLID 設計原則來實現。
在本書的其餘部分,您將使用 Symfony 框架構建現代網路商店應用程式的不同工作模組,這將使您深入了解使用 PHP 7 的模組化應用程式開發。
風格與方法
本書適合中級 PHP 開發人員,對模組化程式設計幾乎沒有了解,想要理解設計模式和原則,以便更好地利用現有框架進行模組化應用程式開發。