View Models in the Yii Framework

View Models in the Yii Framework

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...
Improve Backups with S3

Improve Backups with S3

Perhaps the most important aspect of any system is the backup strategy. All sysadmins would agree that without good backups, it’s hard to sleep at night. Over the years, we have used many different backup strategies at Sourcetoad. My current favorite one is...
Adding Personal Flair to Your Code

Adding Personal Flair to Your 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...
Progressive Loading Of Images

Progressive Loading Of Images

Happy New Year! I hope you had a wonderful holiday, or whatever it is that you do. And while I am not the most festive person around, I thought we could do something fun to ring in the New Year. So today we will be learning about what, in my opinion, is one of the...