DEV Community

CodeCraft Diary profile picture

CodeCraft Diary

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

Introduce Parameter Object: A Refactoring Pattern That Scales

Introduce Parameter Object: A Refactoring Pattern That Scales

Comments
4 min read

Want to connect with CodeCraft Diary?

Create an account to connect with CodeCraft Diary. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Development Workflow: Why Most Teams Fail (And How to Fix It)

Development Workflow: Why Most Teams Fail (And How to Fix It)

Comments
5 min read
How to Test Legacy Laravel Code Without Refactoring First

How to Test Legacy Laravel Code Without Refactoring First

1
Comments
4 min read
Abstract Factory Pattern in PHP – Examples & Best Practices

Abstract Factory Pattern in PHP – Examples & Best Practices

2
Comments
4 min read
Mocking, Stubbing, Spying, and Faking in PHP: A Practical Guide (with Sandbox Example)

Mocking, Stubbing, Spying, and Faking in PHP: A Practical Guide (with Sandbox Example)

7
Comments
4 min read
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)

Writing Maintainable Feature test(Real Laravel example)

1
Comments
3 min read
When to Use a Pattern

When to Use a Pattern

Comments
4 min read
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)

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

1
Comments
4 min read
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

Refactoring & Design Patterns

1
Comments
2 min read
Why Writing Tests Early Saves Time (and Headaches)

Why Writing Tests Early Saves Time (and Headaches)

1
Comments
2 min read
loading...