Archive for March, 2015

PHP 7 Roundup: RETURN TYPES!

Many years ago (in 2011) I wrote "interfaces are worthless". For the most part they have remained mostly worthless for me as typically a superclass of sorts has proven to be a better solution for taxonomy and enforcing the exact typing rules I have criticized interfaces in PHP for in...
Read More

Composer and getting to vendor/bin

Want to stop typing 'vendor\bin\toolname' to access tools like PHPUnit, phpcs, etc when installed through composer? It's a simple process really - merely add "vendor\bin" into your PATH variable and profit! (as long as you're running the command from the project root). https://www.youtube.com/watch?v=UrME91Ta_aY...
Read More

Ionic – Things I wish I knew out of the gate

Cordova is a gamechanger. Ionic framework (and ngCordova) are game changers to the Cordova scene. However, I have already learned two very painful lessons as a beginner into the bowels of Cordova-tech: Avoid ionic-generator While yeoman generators can be helpful, the ionic-generator simply imposes too much junk into your workflow. It shouldn't...
Read More

AngularJS modals: anything NOT angular-ui-bootstrap

I have grown warmly toward the semantic ui offerings. However, when dealing with a fledgling framework that doesn't have an active port for angularJS, some things can be frustrating since you sometimes have to re-implement boilerplate calls that are already bundled in with the angular-ui-bootstrap project. One of the bigger pain in...
Read More

PHPCS custom standards and PHPStorm integration

At about 6 minutes long, I threw together this screencast to show a method to involve your custom PHP CodeSniffer standards into your project workflow when using Composer. Essentially it covers the convenience of putting your standards into a Composer package and adding a wrapper to 'extend' the PHPCS shell/batch...
Read More