Test-Driven Development with PHP 8: Build extensible, reliable, and maintainable enterprise-level applications using TDD and BDD with PHP (Paperback)
暫譯: 使用 PHP 8 的測試驅動開發:透過 TDD 和 BDD 建立可擴展、可靠且可維護的企業級應用程式
Sarabia, Rainier
- 出版商: Packt Publishing
- 出版日期: 2023-01-13
- 售價: $1,640
- 貴賓價: 9.5 折 $1,558
- 語言: 英文
- 頁數: 336
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1803230754
- ISBN-13: 9781803230757
-
相關分類:
PHP、TDD 測試導向開發
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$480$379 -
$780$663 -
$580$493 -
$380$342 -
$580$458 -
$580$458 -
$350$315 -
$301騰訊 iOS 測試實踐
-
$1,940$1,843 -
$520$343 -
$1,300$1,235 -
$480$379 -
$980$774 -
$720$360 -
$539$512 -
$580$458
相關主題
商品描述
A PHP developer's practical guide to planning, writing, and deploying maintainable and extensible software solutions with automated tests in a well-structured way
Key Features
- Learn to organize and translate business requirements into maintainable software
- Minimize regressions and bugs while releasing new features or bug fixes
- Build maintainable applications using SOLID principles
Book Description
PHP web developers end up building complex enterprise projects without prior experience in test-driven and behavior-driven development which results in software that’s complex and difficult to maintain. This step-by-step guide helps you manage the complexities of large-scale web applications. It takes you through the processes of working on a project, starting from understanding business requirements and translating them into actual maintainable software, to automated deployments.
You'll learn how to break down business requirements into workable and actionable lists using Jira. Using those organized lists of business requirements, you'll understand how to implement behavior-driven development (BDD) and test-driven development (TDD) to start writing maintainable PHP code. You'll explore how to use the automated tests to help you stop introducing regressions to an application each time you release code by using continuous integration.
By the end of this book, you'll have learned how to start a PHP project, break down the requirements, build test scenarios and automated tests, and write more testable and maintainable PHP code. By learning these processes, you'll be able to develop more maintainable, and reliable enterprise PHP applications.
What you will learn
- Understand how to start a software project
- Discover how to use Jira as a tool to organize your tasks
- Explore when and how to write unit, integration, and functional tests using PHPUnit
- Write behavior-driven tests using Behat
- Apply SOLID principles to help you write more testable code
- Get the most out of your automated tests by using continuous integration
- Use continuous delivery to help you prepare your application for deployment
Who this book is for
This book is for PHP software developers looking to implement TDD and BDD in their projects. An understanding of object-oriented programming is required to get the most out of this book. Professional software development experience will also be beneficial to understand real-life business cases.
商品描述(中文翻譯)
一位 PHP 開發者的實用指南,教你如何以良好的結構規劃、撰寫和部署可維護且可擴展的軟體解決方案,並進行自動化測試。
主要特點
- 學習如何組織並將業務需求轉化為可維護的軟體
- 在釋出新功能或修復錯誤時,最小化回歸和錯誤
- 使用 SOLID 原則構建可維護的應用程式
書籍描述
PHP 網頁開發者在沒有測試驅動開發(TDD)和行為驅動開發(BDD)經驗的情況下,最終會構建複雜的企業專案,這導致軟體變得複雜且難以維護。本指南逐步幫助你管理大型網頁應用程式的複雜性。它將帶你了解專案的工作流程,從理解業務需求並將其轉化為實際的可維護軟體,到自動化部署。
你將學習如何使用 Jira 將業務需求分解為可行且可操作的清單。利用這些組織好的業務需求清單,你將了解如何實施行為驅動開發(BDD)和測試驅動開發(TDD),開始撰寫可維護的 PHP 代碼。你將探索如何使用自動化測試,通過持續集成來防止每次釋出代碼時引入回歸問題。
在本書結束時,你將學會如何啟動一個 PHP 專案,分解需求,構建測試場景和自動化測試,並撰寫更具可測試性和可維護性的 PHP 代碼。通過學習這些過程,你將能夠開發出更可維護且可靠的企業 PHP 應用程式。
你將學到的內容
- 理解如何啟動一個軟體專案
- 探索如何使用 Jira 作為組織任務的工具
- 了解何時以及如何使用 PHPUnit 撰寫單元測試、整合測試和功能測試
- 使用 Behat 撰寫行為驅動測試
- 應用 SOLID 原則幫助你撰寫更具可測試性的代碼
- 通過使用持續集成,充分利用你的自動化測試
- 使用持續交付幫助你準備應用程式的部署
本書適合對象
本書適合希望在專案中實施 TDD 和 BDD 的 PHP 軟體開發者。需要具備物件導向程式設計的理解,以便充分利用本書的內容。具備專業軟體開發經驗也將有助於理解實際的商業案例。
目錄大綱
1. What is Test-Driven Development and Why Use It in PHP?
2. Understanding and Organizing the Business Requirements of Our Project
3. Setting Up Our Development Environment Using Docker Containers
4. Using Object-Oriented Programming in PHP
5. Unit Testing
6. Applying Behavior-Driven Development
7. Building Solution Code with BDD and TDD
8. Using TDD with SOLID Principles
9. Continuous Integration
10. Continuous Delivery
11. Monitoring
目錄大綱(中文翻譯)
1. What is Test-Driven Development and Why Use It in PHP?
2. Understanding and Organizing the Business Requirements of Our Project
3. Setting Up Our Development Environment Using Docker Containers
4. Using Object-Oriented Programming in PHP
5. Unit Testing
6. Applying Behavior-Driven Development
7. Building Solution Code with BDD and TDD
8. Using TDD with SOLID Principles
9. Continuous Integration
10. Continuous Delivery
11. Monitoring