Developer | UX Advocate | T.J. Mahaffey - Authors


T.J. Mahaffey

Posts 1 to 4 of 4


Alias Columns on Related Models in Laravel

Our dev shop has most recently begun building a commerce-capable CMS in Laravel. This project has been a blast to work on and motivates me to work constantly to push the feature set forward quickly. I've laid out the model relationships using Eloquent, of course, and that pattern follows most ecommerce applications in a general sense. I'd… View More


A CASE for Eloquent

In 2014, our development group at Mass Enthusiasm switched PHP frameworks from CodeIgniter to Laravel for building web applications. CodeIgniter served us (and myself) very faithfully for several years, but it was time to move on to something more modern which also helped enforce… View More


Chase Online - A UX Critique

Although I don’t use a credit card often, I did have a balance to settle recently. While in the Chase Online account management controls, I had a need to view some activity history. While using it, I noticed a couple of usability points which I thought I would outline here as a user experience exercise. The Good Note that when a user selects the “Specify a date range” radio button, the “Beginning… View More


Cron: Legacy - Scheduling a MySQL Query

After building a subscription-based web application to serve clients at the small ad agency I worked for, I needed to run a maintenance query against one of the database tables on some regular basis. Records needed to be deleted from the table according to the value contained within an expiration date field. ( dte_exp ) Unfortunately, the low-traffic web application is running on a shared hosting server and the host does not allow for MySQL… View More

© 2023 T.J. Mahaffey