Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Applying Clean Code Principles in PHP

via CodeSignal

Overview

Apply essential clean code principles, such as DRY, KISS, Law of Demeter, and SOLID, in PHP. This course reinforces best practices through practical implementation and real-world examples, solving industry-related challenges.

Syllabus

  • Unit 1: Applying DRY Principles in PHP Code
    • Refactor Code to Follow DRY Principle by Extracting Methods
    • Variable Extraction and Code Maintainability in PHP
    • Replace Temp with Query in PHP for Customer Eligibility Checks
  • Unit 2: Applying the KISS Principle in PHP Code
    • Refactoring for Simplicity with the KISS Principle in PHP
    • Simplify Leap Year Evaluation Using the KISS Principle
    • Simplifying a Palindrome Checker in PHP
  • Unit 3: Applying the Law of Demeter in PHP Code
    • Law of Demeter: Improving Object Interactions in a Library System
    • Refactoring Delivery Service for Encapsulation Compliance
  • Unit 4: Applying SOLID Principles in PHP Code
    • Refactoring for Single Responsibility Principle in PHP
    • Redesign Code for Open/Closed Principle Compliance
    • Implementing Interface Segregation in PHP
    • Implementing the Dependency Inversion Principle in PHP

Reviews

Start your review of Applying Clean Code Principles in PHP

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.