-
How to properly handle a doctrine entity manager on an expressive application served with swoole
04 November 2019 —
Comments Some of you probably know that I have a pet project in which I like to work from time to time. This project is a self-hosted URL shortener called Shlink. Shlink is built using expressive as the base framework for the HTTP-dispatching task. A while ago, an expressive module was released to officially…
-
Is spying on mocks a bad practice for unit tests?
07 July 2019 —
Comments For a long time, I have been trying to include tests in every project in which I've worked on. There are several types of automated tests (or what should actually be called automated checks). From unit tests, integration and functional tests, to end-to-end tests. Each one of them differs from the re…
-
Considerations to properly use open source software projects
27 April 2019 —
Comments I've been wanting to write this article for a while, but it is a subject complex to approach. Lately I've had some "conflicts" with users in some of the open source software (OSS) projects I maintain, and I have also seen some of the people I follow on Twitter dealing with the same. Because of that …
-
Dependency injection in nodejs projects
14 December 2018 —
Comments Some of you know that I work now as a full stack javascript developer, and I have interacted with a few different projects, both in front-end javascript and in nodejs. My main concern about javascript has been that, apparently, the community has not adopted one of the practices that, for me, has bee…
-
Demonstrating the interoperability and decoupling of Zend Expressive
14 July 2018 —
Comments I have written a lot of posts about Zend Framework in general and Zend Expressive in particular, but I have noticed that I have never talked about one of the things that, from my point of view, makes Expressive so game-changing, Interoperability. Some context In the past, PHP frameworks used to be v…