Byron Adams


Ramblings about code, life and everything else.


  1. The problem with using models in your migrations

    Database migrations are an immensely useful part of any framework, they allow you to automatically update the schema and data of your application, and keep a record of the changes that have been made over time. In this post I’m specifically talking about migrations in Yii2. …


  2. Yii GridView Performance

    If you’re using the yii\grid\GridView widget to render large lists of data, including things like status icons, form fields or any other custom HTML columns, you may notice that it can be quite slow to render, in this post I’ll explain why, and how to avoid some extra rendering overhead. …