Welcome to 9np
Latest Blog Posts
Stay informed and inspired with our latest blog posts. Discover insights, tips, and trends across various topics.
-
SOLID Unit Tests
Set of Unit Tests for the previous SOLID Examples post. Single Responsibility Principle (SRP) Unit tests for the Authenticator class from the Single Responsibility Principle example from the previous post. These tests…
-
SOLID Examples
Single Responsibility Principle (SRP) Suppose you are building a web application that allows users to sign up and log in to their accounts. To handle user authentication, you might create a class…
-
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…