A practical guide showing how the Strategy pattern transformed a messy 500-line switch statement into clean, maintainable code for converting XML forms to Formio.js JSON. The tutorial demonstrates real-world pattern implementation with Laravel-friendly examples, moving beyond abstract design pattern theory.
We all love a little dd() throughout the day come on you know its probably one of your most used quick debugging tricks when developing an application right? It's quick and easy but of course it does have it's drawbacks, in this post Trajche shows you how to use Ray by Spatie to help improve your debugging experience. Ray is a great tool and one we use a lot at Jump24, if you've not given it a try then find 9 minutes and sit down and read this post. Im sure afterward you will be heading over and getting your copy!
If you've not used Nightwatch yet and have been on fence thinking about it, Trajche has put together a great post on debugging applications in production using Laravel Nightwatch. He covers some real-world issues that typically only appear on production things like N+1 issues, performance problems when lots of users are using the system. He shows you how to identify and fix performance problems, cache issue and those pesky silent failures that dont show up on local environments.