SOLID Unit Tests

Set of Unit Tests for the previous SOLID Examples post. Single Responsibility Principle (SRP) Open/Closed Principle (OCP) Liskov Substitution Principle (LSP) Interface Segregation Principle (ISP) Dependency Inversion Principle (DIP) Single Responsibility Principle (SRP) Unit tests for the Authenticator class from the Single ...

Read More

SOLID Examples

Single Responsibility Principle (SRP) Open/Closed Principle (OCP) Liskov Substitution Principle (LSP) Interface Segregation Principle (ISP) Dependency Inversion Principle (DIP) Single Responsibility Principle (SRP) Suppose you are building a web application that allows users to sign up and log in to their ...

Read More

SOLID Principles

As a PHP developer, you can benefit from using SOLID principles to write better, more maintainable code. SOLID stands for: Single Responsibility Principle (SRP) Open/Closed Principle (OCP) Liskov Substitution Principle (LSP)Interface Segregation Principle (ISP) Dependency Inversion ...

Read More

Sizing Non-LVM Root Partitions

Recently, I was faced with a busy production server with a space problem where the root partition was near capacity. After some research, I determined that it was possible to add space to the RHEL root ...

Read More