Modular Programming with PHP 7
Branko Ajzele
- 出版商: Packt Publishing
- 出版日期: 2016-09-12
- 售價: $2,180
- 貴賓價: 9.5 折 $2,071
- 語言: 英文
- 頁數: 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開發人員,他們對模組化編程知之甚少,希望了解設計模式和原則,以更好地利用現有框架進行模組化應用程序開發。