Volume 2: Mastering Essential Development Tools
Matt Zandstra

#PHP
#CI
#CLI
#Ansible
#GitHub
#Git
#Docker
💎 ادامهی ساخت سیستمهای زیبا و مستحکم با PHP – جلد دوم نسخهی هفتم
تمرکز این جلد بر ابزارهای حیاتی توسعه و بهترین شیوههای برنامهنویسی حرفهای است.
ویرایش جدید کاملاً بهروزرسانی شده برای PHP 8.3 و آخرین نسخههای پایدار ابزارها و فرآیندهای توسعه نرمافزار.
در این نسخه، فصلهای جدید و مهمی اضافه شدهاند:
🔹 Docker و ساخت محیطهای توسعه قابل حمل
🔹 Ansible برای استقرار و مدیریت تنظیمات سرورها
🔹 ابزارهای Refactoring برای بهبود ساختار کد
🔹 و PHP در خط فرمان (CLI) برای اجرای اسکریپتها خارج از مرورگر
همچنین فصل مربوط به مستندسازی درونخطی (Inline Documentation) دوباره اضافه شده و پوشش یکپارچهسازی مداوم (CI) گسترش یافته تا GitHub Actions را هم شامل شود.
📘 این جلد روی پایهی مستحکم جلد اول بنا شده و وارد دنیای ابزارها، شیوهها و گردشکارهایی میشود که برای ایجاد، تست و استقرار کد حرفهای در پروژههای PHP لازماند.
در آن یاد میگیری چگونه:
🧠 پس از مطالعه و اجرای تمرینهای این کتاب، مجموعه ابزاری را خواهی شناخت که میتواند کل چرخهی عمر یک پروژهی PHP را پشتیبانی کند — از ایجاد محیط توسعهی منعطف و همکاری تیمی گرفته تا استفاده از استانداردها، مستندسازی فنی، تست خودکار و استقرار روی چند سرور تولیدی.
🎯 نتایج و مهارتهایی که کسب میکنی:
📑 فهرست مطالب کتاب:
👨🏫 دربارهی نویسنده – مت زندسترا (Matt Zandstra):
بیش از دو دهه تجربه در نقشهای برنامهنویس وب، مشاور فنی و نویسنده حرفهای دارد.
او نویسندهی کتاب معروف SAMS Teach Yourself PHP in 24 Hours (در سه ویرایش) و یکی از نویسندگان مجلات Linux Magazine، Zend، IBM DeveloperWorks و php|architect است.
پیشتر در سمتهای Senior Developer و Tech Lead در Yahoo و API Tech Lead در LoveCrafts فعالیت داشته و اکنون مدیریت یک آژانس فنی را بر عهده دارد که به شرکتها در زمینهی معماری سیستم و مدیریت پروژههای نرمافزاری مشاوره میدهد.
مت زندسترا سیستمهایی را عمدتاً با زبانهای PHP، Python و Java توسعه میدهد و علاوه بر کار فنی، نویسندهی داستان نیز هست.
✨ جمعبندی توسعهدهندهای:
جلد دوم این کتاب، راهنمای جامع برای حرفهای کردن کل چرخهی توسعهی PHP است — از کدنویسی تمیز، تست خودکار، مستندسازی و کنترل نسخه تا استقرار هوشمند با Docker و Ansible.
اگر جلد اول پایهی شیءگرایی و طراحی نرمافزا جلد نقشهی راهت برای توسعه و استقرار پایدار در دنیای واقعی PHP 8.3 است.
Continue to develop elegant and rock-solid systems using PHP. With a focus on mastering essential development tools and applying best practices, Volume 2 of this 7th edition has been fully updated for PHP 8.3 and the most recent stable iterations of all tools and processes. It includes entirely new chapters covering Docker, Ansible, refactoring tools, and PHP on the command line. The volume also reintroduces a chapter on inline documentation and extends its coverage of continuous integration to include GitHub Actions.
This book builds on the solid grounding provided by Volume 1 to cover the tools and practices needed to develop, test, and deploy robust code. You’ll see how to manage multiple developers and releases with git, create development environments, and deploy Composer to leverage thousands of tools and libraries and manage dependencies. You’ll also explore strategies for automated testing and continuous integration and learn essential techniques for deploying your code using Git and Ansible.
After reading and using this book, you will have mastered a toolset that can support the entire lifecycle of a PHP project, from the creation of a flexible development environment, through collaboration, the use of standards-based best practice and documentation, to testing and deployment across multiple production servers.
You will:
Table of Contents
Chapter 1. Good (and Bad) Practice
Chapter 2. Generating Documentation with phpDocumentor
Chapter 3. PHP Standards
Chapter 4. Refactoring and Standards Tools
Chapter 5. Using and Creating Components with Composer
Chapter 6. Version Control with Git
Chapter 7. Testing with PHPUnit
Chapter 8. Vagrant
Chapter 9. Docker
Chapter 10. Automating Build and Deployment with Ansible
Chapter 11. PHP on the Command Line
Chapter 12. Continuous Integration
Chapter 13. PHP Practice
About the Author
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. He now runs an agency which advises companies on their architectures and system management, and also develops systems primarily with PHP, Python and Java. Matt also writes fiction.









