PHP Bits

Because our industry advances so quickly, it's far too easy for bits and pieces to fall through the cracks. Each episode in this series provides a standalone two-minute dose of PHP knowledge. Think of them as Red Bull for your brain: a rapid surge of education.

Start Series For Free

Share this series on:

  • 01

    Episode 1 Run Time 3:03

    Visual Debt Free

    Nobody talks about visual debt. It's not a thing. Yet it is. We all spend eight hours a day staring at a computer screen. Like it or not, each line of code is fighting for your brain power and energy, and we only have so much to give. Sadly, the current trend in the PHP community is one that pushes for more complexity, not less.

  • 02

    Episode 2 Run Time 2:58

    A Clean PHPUnit Workflow in PHPStorm Free

    One of the most compelling features of PHPStorm relates to its PHPUnit integration. What if a single keystroke could trigger a test? And what if, anywhere in your project, you could re-trigger that very test in less than a second? How would that affect your workflow? It's all a cinch in PHPStorm.

  • 03

    Episode 3 Run Time 3:27

    Array Destructuring Free

    Destructuring in PHP 7.1 is one of the more useful additions to the language...that you probably aren't using. If you have three minutes to spare, let me run you through a handful of use cases.

  • 04

    Episode 4 Run Time 3:15

    Single-Use Traits

    I was recently listening to an episode of Twenty Percent Time, where they discussed one of the recommendations in my Whip Monstrous Code into Shape series that relates to using single-use traits. In this PHP Bit, let's review the basic workflow, while discussing the pros and cons of such a refactor.

*Series still in development. Check back often for updates.