PHPnews.io

Overview for 'dracony'



Service Behavior Immutability

Written by Dracony / Original link on May. 15, 2015

One of the things I always mention when I rant about misusing events is behavior mutation. Since listeners can be attached and sometimes even detached dynamically during application runtime it frequently results in event hell and severely impedes debugging. After some thought I believe same reasoni…


Stop using PHPMyAdmin

Written by Dracony / Original link on Apr. 21, 2015

It makes me cringe every time I see developers use PHPMyAdmin to administer their databases, even more if its a local database. This is a relic from the old times when people used it with their remote servers since desktop applications did not provide remote access functionality yet. Here are just …


Replacing controllers with middleware

Written by Dracony / Original link on Mar. 30, 2015

Middleware is now a very popular topic in the PHP community, here are some of my thougts on the subject. First, let’s take a quick look at what middleware is ( if you already know about middleware you can skip this part):Short introThe idea behind it is “wrapping” your application logic with additi…


You owe yourself that README file

Written by Dracony / Original link on Feb. 27, 2015

Just a few days ago I have finally finished the PHPixie ORM library and wanted to release it immediately. I planned on writing only a small blog post outlining its basic usage, then switching to finishing off other PHPixie 3 components and only after that returning to writing detailed ORM docs. The…