Stop using PHP-FPM to argue using Nginx vs Apache
I often see “Apache vs Nginx” discussions appearing on reddit and some of the arguments people make are plain ridiculous. So now I want to address one that makes my eyes roll the post: PHP-FPM. When...
View ArticleDev Stories #1: Crazy Job Interviews
This is going to be the first episode of me telling some interesting stories from my development career.
View ArticleUnit Tests are not enough
For the last half a year I have been refactoring the next version of PHPixie ORM and writing unit tests for it. My goal is to bring it to 100% coverage ( right now it’s at 97% ). But as others have...
View ArticleImpostor Software Architects
From all the different kinds of developers I met over the years there is one that I really hate. The impostor architect kind. They are an absolute plague to any developer environment and the community...
View ArticleYou owe yourself that README file
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...
View ArticleReplacing controllers with middleware
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...
View ArticleStop using PHPMyAdmin
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...
View ArticleService Behavior Immutability
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...
View ArticleSetting up a PHP project with PHPUnit, Travis-CI, CodeClimate and Packagist
A short tutorial I did explaining the process of setting up a PHP project with continuous testing with PHPUnit and Travis-CI and quality metrics with CodeClimate.
View ArticleShould you reinvent the wheel? Programming and cakes
The “Not invented here” mindset and it’s counterpart “Don’t reinvent the wheel” mindsets are probably causing thousands of discussions every day. Almost every week you see a question pop up in...
View Article