Yii2 hasOne vs hasMany param order

hasOne() * * public function getCountry() * { * return $this->hasOne(Country::className(), ['id' => 'country_id']); * } * hasMany() * * public function getOrders() * {…

I’m no javascript Guru, so this helped me out.

Just an article I came across that defines makes JS callbacks in a understandable, yet detailed, way: https://hackernoon.com/javascript-what-the-heck-is-a-callback-aba4da2deced

Yii2 and bower/asset: jquery.inputmask AfterAction report…

So last week Im working along and I run composer install … to get a new framework installation to while trying to track down a bug.…

Going in circles…

…ever try to write something when your brain is not firing on all 8? I recently had all of my wisdom teeth pulled during the same visit…

Yii2 AR SQL Verbs; Y-U-SO-WEIRD?

Yii2 being an active record style DB abstraction AND needing to support a wide range of database technologies facilitated creating the standard insert / select…

Shameless Self Promotion: Presenting during Tampa Bay PHP’s May meetup!

Using Codeception for Acceptance testing Tuesday, May 30, 2017, 6:30 PM Sourcetoad’s new location2901 W Busch Blvd #1018 Tampa, FL 9 Members Went David Eddy…

Why basic data structure knowledge is important.

Today while working through an issue ticket we came across a situation where console.log() was printing out a rounded variation of an integer. The server…

Refactoring array index magic number with class constant.

During a code review my peer Michal Mazur turned me onto the follow example; I have to say I am really digging it: Array Index as…

PHP and large CSV’s…

After looking around a bit I have yet to find a way to read a specified line from a file without doing one of the…

PHPStorm 2017.1 released…

I’m sure many of you know this already by JetBrains has released PHPStorm version 2017.1. The improvement list looks nise and Im eager to try…