Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Clean Code with PHP examples
1. Introduction
1. Clean code - From Art to Science (2:48)
2. What people say (4:39)
3. Looking at some code (2:38)
4. Empathy (3:12)
2. Clean Code: small functions
1. Small functions are easy to understand (18:15)
2. More advantages of small functions (7:20)
3. How many lines should a small function have (3:34)
4. Single Responsibility Principle (1:33)
5. Levels of Abstraction - An MVC discussion (11:42)
3. Clean Code: Fundamental Principles
1. Names - for methods, classes and variables (6:39)
2. Parameters (4:10)
3. Programming line length (1:47)
4. Beautify predicates (1:03)
5. Comments (4:13)
6. Should I use exceptions? (0:32)
4. Clean Code: Advanced Principles
1. OOP Objects vs Data Structure Objects (4:20)
2. Composition Over Inheritance (5:16)
3. Symptoms of Bad Code (2:03)
4. What is state in programming and why is it important. State and MVC. (5:34)
5. Low Coupling, High Cohesion (7:28)
6. Command and Query Separation, Tell Don't Ask and The Law of Demeter (4:35)
7. Test Pyramid and Test Driven Development (3:50)
8. Is over-engineering a solution to bad code? (spoiler: it isn’t) (3:02)
9. YAGNI (1:51)
10. Project (2:03)
Teach online with
3. Looking at some code
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock