PHPnews.io

Overview for 'rosstuck'

The Everybody Poops Rule

Written by Ross Tuck / Original link on Aug. 26, 2018

One of the hardest things to teach growing devs is when not to use their newfound skills. After putting huge effort into learning with a mentor, having that same mentor pick up a feature and say “No, just crap this one out, it’s not important” seems inconsistent and bewildering. To help explain, I…


Returning From Command Buses

Written by Ross Tuck / Original link on Jan. 22, 2018

The most common question I get about my command bus library is: “can commands really return nothing?” The second most common question is “Why do you let commands return something, don’t you know that’s Wrong(tm)?” It’s easy to get hung up on form, not function. That’s a shame because command buses…



Formatting Exception Messages

Written by Ross Tuck / Original link on Oct. 27, 2015

Over the last couple years, I’ve started putting my Exception messages inside static methods on custom exception classes. This is hardly a new trick, Doctrine’s been doing it for the better part of a decade. Still, many folks are surprised by it, so this article explains the how and why. How does…


How I Use Traits

Written by Ross Tuck / Original link on May. 18, 2015

Recently, a few folks asked about a trait in a new project I wrote. Right around the same time, Rafael Dohms showed me his new talk about complex cognitive processes we don’t notice. Because my brain is a big mushy sack, the two blended together. The result was this post, which tries to capture how…


Notes From 3 Conferences

Written by Ross Tuck / Original link on Oct. 12, 2014

I started this month by speaking or hosting at 4 events in 2 countries over 5 days (DrupalCon Amsterdam, DomCode, ZgPHP, WebCamp). While hectic, it was a great way to see a cross section of the community back-to-back. So, I’d like to talk about the events in turn but also some meta-topics about con…