Forem

CodeCraft Diary profile picture

CodeCraft Diary

Practical guides, insights, and lessons learned from building and testing real-world applications shared here on CodeCraft Diary.

Refactoring If-Else Hell into a Strategy Pattern in PHP ⚙️
Cover image for Refactoring If-Else Hell into a Strategy Pattern in PHP ⚙️

Refactoring If-Else Hell into a Strategy Pattern in PHP ⚙️

Comments
3 min read
Writing Maintainable Feature test(Real Laravel example)
Cover image for Writing Maintainable Feature test(Real Laravel example)

Writing Maintainable Feature test(Real Laravel example)

1
Comments
3 min read
When to Use a Pattern
Cover image for When to Use a Pattern

When to Use a Pattern

Comments
4 min read
Feature Testing in PHP: Ensuring the Whole System Works Together
Cover image for Feature Testing in PHP: Ensuring the Whole System Works Together

Feature Testing in PHP: Ensuring the Whole System Works Together

Comments
4 min read
How to Spot Code Smells (and What to Do About Them)
Cover image for How to Spot Code Smells (and What to Do About Them)

How to Spot Code Smells (and What to Do About Them)

2
Comments
4 min read
Unit Testing in PHP: How to Catch Bugs Before They Bite
Cover image for Unit Testing in PHP: How to Catch Bugs Before They Bite

Unit Testing in PHP: How to Catch Bugs Before They Bite

Comments
2 min read
Refactoring & Design Patterns
Cover image for Refactoring & Design Patterns

Refactoring & Design Patterns

Comments
2 min read
Why Writing Tests Early Saves Time (and Headaches)
Cover image for Why Writing Tests Early Saves Time (and Headaches)

Why Writing Tests Early Saves Time (and Headaches)

1
Comments
2 min read
loading...