Alejandro Celaya | Blog

Software development, agile methodologies and open source software.

category Archive — "php"

— 2017 —

My thoughts after migrating some projects to Zend Expressive 2

The day Zend Expressive 2 was released I was super excited. I have been using it a lot for both professional and personal projects, so I'm quite used to it. Since I've been using it in many projects, being able to update all of them to version 2 was a challenge, but I can say, I have succeeded :-) T…

Run PHPUnit tests inside a docker container from PhpStorm

Docker is, without any doubt, the trending tool these days. Everybody wants to use it, because it is very useful, allowing to easily generate development environments for any kind of application. A couple months ago I started working with docker myself (it has taken me a while, I know), and now I ca…

— 2016 —

Creating a content-based Error Handler for Zend Expressive

The other day I was working on a Zend Expressive application I'm currently building. The application includes a REST API among other things, but it also has some endpoints which render HTML. In one of my tests of the REST API I saw that when an error occurs (404, 405 or 500), I was getting an HTML r…

Project Scalability with Zend Expressive

I've been working with some different frameworks lately. One of them is Zend Expressive, and I've come to the conclusion that I don't need to choose between different frameworks; depending on the project, Expressive always fits my needs and scales from small projects to bigger applications. The Micr…

Improving Zend\ServiceManager workflow with annotations

Everyone who regularly visits my blog knows that I'm an absolute fan of the Zend\ServiceManager component. It is always my choice to deal with dependency injection in any kind of project, more now that v3 has been released, which is faster and has a better public API. The workflow while working with…

— 2015 —