
PHPTrends
@PHPTrendss
Followers
538
Following
114
Media
0
Statuses
2K
Refactor Controller into Action Class: Cleaner & More Maintainable Laravel Code #php #dormosheio
dormoshe.io
Let’s be honest: we’ve all written controller methods that start small but eventually turn into bloated monsters. A few conditionals here, some business logic there — before you know it, your store...
0
0
0
The Most Beautiful Data Structures (and How to Try Them Locally) #php #dormosheio #datastructures #algorithms #pythondev
dormoshe.io
What makes a data structure “beautiful”? Some say simplicity. Some say power. Some just admire how elegantly it solves a real-world problem. In this article, we’ll explore three data structures oft...
0
1
1
Building Custom Artisan Commands with Advanced Features #php #dormosheio #laravel #laravelframework #webdev
dormoshe.io
“Code is like humor. When you have to explain it, it’s bad.” — Cory House “Any sufficiently advanced technology is indistinguishable from magic.” — Arthur C. Clarke
0
0
0
Getting Started with #Laravel API Resources for Clean #JSON Responses In #Laravel #php #dormosheio #json
dormoshe.io
“Clean code always looks like it was written by someone who cares.” -- Michael Feathers A Resource in Laravel is a way to transform your Eloquent models into a customized array or JSON structure. I...
0
0
0
The Hidden Traps in Laravel Queues: 10 Mistakes Even Experienced Developers Make (And How to Escape Them) #php #dormosheio
dormoshe.io
Laravel queues feel like magic — transforming slow, blocking tasks into smooth background processes. But that magic can backfire when overlooked quirks and pitfalls come into play. Here are 10 batt...
0
0
0
Why ??= Is the #PHP Secret Weapon You Didn’t Know You Needed #dormosheio
dormoshe.io
For years, I wrestled with verbose null checks in PHP — layering isset() guards or ternaries into every array and object assignment. Then, in PHP 7.4, along came the null coalescing assignment oper...
0
0
0
Advanced Laravel Eloquent Techniques for Scalable Applications #php #dormosheio
dormoshe.io
Laravel’s Eloquent ORM is a powerful abstraction over your database, and when used right, it can become the backbone of a clean, scalable, and performant application. This article dives deep into a...
0
1
1
FrankenPHP vs PHP-FPM (Part 2): Symfony Under Real Load and Why Workers Win #php #dormosheio
dormoshe.io
In the first part of this series, we ran a series of raw performance benchmarks between FrankenPHP and PHP-FPM using a minimal PHP script. The goal was to isolate and compare the performance of the...
0
0
1
FrankenPHP vs PHP-FPM: Benchmarks, Surprises, and One Clear Winner #php #dormosheio
dormoshe.io
I’ve always been cautious about jumping on new technology trends — especially when it comes to something as foundational as how PHP is served. Stability matters more than hype, and for years, PHP-F...
0
1
2
Clean Up Conditional Logic with the Strategy Pattern in #PHP #dormosheio
dormoshe.io
How to transform your rigid, hard-to-maintain code into flexible, extensible solutions using one of the most powerful design patterns Have you ever found yourself writing endless if-else statements...
0
0
1
Microservices with Laravel 11: Best Practices for Scaling Applications #php #dormosheio #bestpractices
dormoshe.io
Hello, laravel web developers! In this article, we’ll see how to create microservices with laravel 11. In laravel 11, Microservices allow developers to break down a large monolithic application int...
0
0
0
Check the Cleanliness of Your Code: A Tool for JS, Python, and #PHP #dormosheio #programming #javascript #pythondev #webdev #frontenddev
dormoshe.io
As developers, we often chase functionality, but forget that our code should be readable, consistent, and maintainable — for others and, let’s be honest, for our future selves (the forgetful kind, ...
0
0
0
🛑 Stop Overengineering: Apply YAGNI to Build What Matters 🚀 #php #dormosheio
dormoshe.io
💡 Quick note before we dive in:I regularly share practical and insightful programming tips — from books, official docs, and trusted sources — on my Telegram channel.Whether you’re a beginner or a ...
0
1
1
🧨 How Violating YAGNI Is Killing Your Team’s Velocity #php #dormosheio
dormoshe.io
💡 Quick note before we dive in:I regularly share practical and insightful programming tips — from books, official docs, and trusted sources — on my Telegram channel.Whether you’re a beginner or a ...
0
0
0