Autores: Carsten Windler Alexandre Daubois
SubTítulo: Expert tips and best practices to write beautiful, human-friendly, and maintainable PHP
PARTE 1 - Introdução ao Clean Code (60)
Part 2 – Maintaining Code Quality (162)
Usa PHP8, será ensinado emno capitulo 9
Repositório com os códidigos
(link repo git)[https://github.com/PacktPublishing/Clean-Code-in-PHP]
Imagens coloridas:
https://packt.link/b08Jl.
Part 1 – Introducing Clean Code
The purpose of this first part is to introduce the concepts of clean code and the theory behind it. This part is intended to be quite theoretical, although concrete examples will be discussed as the chapters progress. The first approach of clean code is proposed in order to explain its usefulness and why it is necessary in the life of a developer. This section comprises the following chapters: • Chapter 1, What Is Clean Code and Why Should You Care? • Chapter 2, Who Gets to Decide What “Good Practices” Are? • Chapter 3, Code, Don’t Do Stunts • Chapter 4, It Is about More Than Just Code • Chapter 5, Optimizing Your Time and Separating Responsibilities • Chapter 6, PHP Is Evolving: Deprecations and Revolutions
Part 2 – Maintaining Code Quality
The aim of the second part is to enable you to constantly improve your projects and eventually maintain a consistently high level of code quality. It will provide you guidance on using state-of-the-art tools and technologies, which will help to reduce the necessary efforts to achieve this goal. Finally, we will present several best practices that will help you to work together with other developers on a clean and maintainable code base. This section comprises the following chapters: • Chapter 7, Code Quality Tools • Chapter 8, Code Quality Metrics • Chapter 9, Organizing PHP Quality Tools • Chapter 10, Automated Testing • Chapter 11, Continuous Integration • Chapter 12, Working in a Team • Chapter 13, Creating Effective Documentation