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

CodeSignal

Refactoring PHP Code for Readability and Maintainability

via CodeSignal

Overview

Delve deep into the world of refactoring, where you'll learn the theory and application of transforming code into a cleaner, more efficient version while retaining its functionality. This course is perfect for developers looking to enhance their code maintenance and performance skills through practical refactoring techniques.

Syllabus

  • Unit 1: Refactoring with Code Smells in PHP
    • Refactor Beverage Cost Calculation in PHP
    • Refactoring Code for Improved Readability and Maintainability
    • Improving Code Readability and Maintainability in PHP
    • Refactor Code for Descriptive Naming
    • Refactoring Price Calculation in PHP
  • Unit 2: Refactoring Techniques in PHP
    • Refactor Code for Modular Discount Calculation
    • Refactor Points Distance Calculation in PHP
    • Refactoring Code for Item Pricing Calculation in PHP
    • Refactor Rectangle Property Calculations in PHP
    • Substitute Algorithm with PHP Built-ins
  • Unit 3: Leveraging OOP Principles in PHP for Enhanced Code Structure
    • Encapsulating Book Data in a PHP Class
    • Temperature Conversion Refactoring Task
    • Refactor Notifications to Use Polymorphism in PHP
    • Refactoring Shopping Cart with Composition in PHP
    • Refactoring with Encapsulation and Composition
  • Unit 4: Code Decoupling and Modularization in PHP
    • Refactor Employee Class Using Composition
    • Separation of Concerns with PHP Classes
    • Refactor User Code into Separate Classes for Better Maintainability
  • Unit 5: Stepping into Refactoring Code with PHP
    • Refactoring Monster Impact Calculation Using OOP in PHP
    • Refactor Code Using OOP in PHP
    • Refactor Adventure Score Calculation Using OOP in PHP
    • Refactor Challenges and Player with Object-Oriented Programming in PHP

Reviews

Start your review of Refactoring PHP Code for Readability and Maintainability

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.