When you are dealing with applications which handle a massive amount of data and high traffic, performance is usually a critical issue to deal, and consequently, the ability to identify any bottleneck in your software may be precious. I’d like to share here some insights about profiling in PHP applications, it means, how to analyse your app and try to improve its performance through the data gathered.
php
Resources to learn and improve knowledge about hexagonal and onion architecture
Recently, I’ve been studying some pretty cool architecture stuff, like onion and hexagonal architecture, then, I stumbled into this awesome talk from Matthias Noback at PHP Barcelona Conference in 2015, which I’d strongly recommend to you to deepen your knowledge on this subject. Due to my PHP background, it has been proved as a precious content. …
Code coverage report with Jenkins pipeline and Docker
Although this article has focused in PHP and PHPUnit, you can use these instructions for any other language and its suite tests like Ruby and RSpec or Java and JUnit.
Three years after the ZCPE exam
Three years ago I took the ZCPE (Zend Certified PHP Engineer) exam about the PHP 5.5 (Recently the new version of the exam was released, this one is about the PHP 7). It was a milestone in my career, and I can perfectly remember the two months before it, when I studied so hard, even dreaming about it. …
How to contribute to the WordPress project
On the last year, I wrote an article about how to start contributing to WordPress project on the Linkedin Pulse platform; To avoid duplicate texts here, I’ll only provide the link directly to the article below:
How to contribute to the WordPress project
Setting the Yii test environment
Have you decided to write tests for your Yii project? Awesome, this post will be useful for you =D
I’ve started to work with Yii recently, and I have to be honest that is not my favourite PHP framework, Symfony is on the top my list, but we can’t ignore one aspect so important for the software cycle life because of personal preferences.
If you have tried to write tests for the Yii using mock objects for active record model you will probably find yourself that isn’t an easy task. This guide has the mission to help you to set up your test environment; this doc is using the Yii 1.0 documentation as support to configure the test environment, below you can figure out how to start from scratch to write unit and functional tests for this or anything else projects using Yii.