February 20, 2018

SterlingTS Releasing PHP Decoupler Open Source!

I am extremely proud today to officially release the php-decoupler from SterlingTS as an open-source project that my colleague Ken Ploeger and I will be maintaining at Sterling Talent Solutions. Ken led the vast majority of the efforts of this project in parallel with helping lead our globalization efforts at Sterling for our flagship SterlingONE product. This tool allowed us to dramatically increase our efficiency in upgrading our legacy PHP platform to a more modern MVC architecture in an incremental approach without the need to “boil the ocean” and rewrite the entire platform (as many of us software folks love to do). We’re looking forward to maintaining and expanding this…

September 19, 2016

Building a Unit Test in Symfony 3 using JWT Token Authentication

When you’re working with JWT Token Authentication and you want to be a well behaved software developer and build out your Unit Tests (in this case we’re using phpunit), it can be somewhat challenging to tackle out of the box. My solution here uses an inherited “service” that generates the token that can be used in any subsequent requests:

In the interest of adhering to the DRY principle, this class exists specifically for the purpose of being called in every unit test as a means of authorizing each request (see below).

You may want to expand upon this to do some additional authorization or validation on the $token response, but…

September 3, 2016

Planning Your Technology Stack

Architecting an application and deciding on the key components of the technology stack that go into building it is an important task. If software hadn’t worked out as a career, my backup was construction. There are many similarities – from crafting the blueprints to laying the foundation, from choosing your materials to building the structure – that help explain the process of planning your tech stack. The thought that goes into this is similar to the thought that goes into purchasing and building a house. You want to make the choices that will sit well with you for years to come because this is a big decision. However, it’s equally…