Source: stitcher.io

An event-driven mindset

Category: Laravel, Laravel, PHP, PHP

Scout APM helps PHP developers pinpoint N+1 queries, memory leaks & more so you can troubleshoot fast & get back to coding faster. I'm working on a new feature for our Spatie website: I'm adding a lightweight form of gamification for our ±10,000 users.

And I'd like to discuss one aspect of it with you today.

I understand why we get to this point: we'll always need some kind of entry-point in our code, no?

Events introduce an unavoidable layer of indirectness to our code that makes it more difficult to follow the "flow of our program".
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners