by Connor | Nov 16, 2023 | Amazon Web Services, Code, Programming
Introduction Here at Sourcetoad, we’ve been working on migrating our PHP framework—mostly Laravel-based projects—to Amazon Web Services’ Elastic Container Service (ECS). As we worked through the process, we were surprised at how scattered around the web...
by Sourcetoad | Feb 21, 2017 | Code
I recently made the switch from the archaic JavaScript of yester-year that everyone loves to hate to ECMAScript 6 (otherwise known as ES6). If you’re like me, a person who hates change, then you may enjoy that one of the first things you will come to learn and love...
by Sourcetoad | Jan 30, 2017 | Code
Ever since I started using Yii 2, I felt that the default way of passing data from controllers to views was not ideal, although I could not immediately say why. I kept doing it the way everyone does, thinking that I just need to give myself more time to get used to...
by Jun | Jan 9, 2017 | App Development, Code
I’ve been thinking recently about the naming conventions I use while coding, and I noticed I tend to follow pretty strict naming standards so I don’t have to put much thought into picking a name. While standards are usually good for readability, too many...
by Sourcetoad | Nov 14, 2016 | App Development, Code, Cool Tools
Yii and Yii2 utilize various magic methods within the framework, the implementation of which can be found in the Object class, which most of the framework extends off of. These magic methods __get, __set, __isset, __unset, and __call enforce a set of standards...
by Sourcetoad | Oct 10, 2016 | Code, Programming
Whenever I find myself working with an unfamiliar PHP codebase, Xdebug becomes one of my most important tools. Xdebug is a PHP extension that allows you to debug code by stepping through it in an editor or IDE. In my experience, stepping through the code is a great...