Skip to Content
Clean Code in PHP
book

Clean Code in PHP

by Carsten Windler, Alexandre Daubois
October 2022
Beginner to intermediate
264 pages
6h 47m
English
Packt Publishing
Content preview from Clean Code in PHP

5

Optimizing Your Time and Separating Responsibilities

It’s time for a little practice after all that theory! We’ve already seen a lot together: advanced principles on clean code, how to choose the right external libraries for your applications, and how to take advantage of the latest patches of these libraries while not risking making your project explode in mid-air. But we should not forget that there is the word “code” in “clean code” (obviously). In this chapter, we will therefore concentrate a little more on the source code of your application and see the following points:

  • Naming conventions and organization of files and folders
  • Why is it important to separate responsibilities to respect the “S” of the SOLID principles? What does it bring ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Domain-Driven Design in PHP

Domain-Driven Design in PHP

Keyvan Akbary, Carlos Buenosvinos, Christian Soronellas
PHP Microservices

PHP Microservices

Pablo Solar Vilariño, Carlos Pérez Sánchez
PHP 7: Real World Application Development

PHP 7: Real World Application Development

Doug Bierer, Altaf Hussain, Branko Ajzele

Publisher Resources

ISBN: 9781804613870Supplemental Content