Clean Code with PHP examples

Clean Code with PHP examples

Learn Clean Code principles to become a better PHP developer, write easy to maintain code and do better at interviews.

What you’ll learn

  • How to write clean code in PHP
  • Why it’s important to keep functions small
  • How to name variables, functions and classes
  • How many parameters a functions should have
  • How clean code affected MVC
  • How to beautify predicates
  • Why comments are bad and when you can use them
  • The difference between an OOP object and a Data Structure Object
  • Why composition is good and inheritance is bad
  • What are the symptoms of bad code
  • What state is and why it’s important
  • Why your code should have low coupling and high cohesion
  • How to avoid spaghetti code
  • What are Command and Query separation, Tell Don’t Ask and The Law of Demeter
  • How over-engineering is not a solution to bad code

Requirements

  • You have to know the basics of writing code in PHP

Who this course is for:

  • PHP developers

Tags:

Tutorial Bar
Logo