Yes, this is typical post about new features on a new version of PHP that 15% of PHP developers have in their personal blogs. To make it personal and unique, I will try to include multiple examples of the new features, so you can see how they can be applied in the real life. 1….
I did not know nothing about Accessors and Mutators. I had heard about them sometimes but I never needed them. In the project I am currently working on I had some requirements for the backend that led me to find something to help me. THE QUESTION I had a MySQL field with JSON information in it….
1. Introduction In this article I will explain some methods to solve this problem: how to get the first (or last) element of an array without removing it. 2. Explanation If we execute these two PHP functions: array_pop, a function that get the last element of an array and remove it array_shift, a function that…
Introduction In this article I will talk about Easy Admin Bundle, a new Symfony Admin Generator that is trully easy to configure and install. Symfony Admin Generator Until Symfony 1.4 we had an admin generator that automatically created our CRUD forms for our DB entities. Since 2.0 the admin generator is no longer included in the…
Introduction In this article I will explain how to install Assetic (not available in the standard edition since 2.8 version) in Symfony 3. For learn purposes I will explain how to do it in a single case scenario: compile less files and generate css. Installation Steps 1. Install Assetic As I have said before, since…
PHP 7 was released on December 3rd, 2015 and has a lot of new features. I am going to explain the most important ones and, at the end of the article, you can find a list of links with the complete and official updated features. PHP 7 New Features New Operators PHP 7 comes with…
Laravel 5.2 ya está aquí y trae muchas novedades. Aquí os pongo un resumen de las novedades más destacadas que sin duda nos ayudarán a mejorar este excelente framework: Novedades de Laravel 5.2 Agrupar los Middleware Para el que aún no sepa lo que es un Middleware, es un filtro para la petición, de tal…
TASK JOBS WITH CRONTAB If we want to schedule tasks (on a UNIX based system) that will be executing every so often, we need to edit the crontab. Crontab is a file that contains a list of scripts that we want to be run periodically. For example, if we want to run a users_cleanup script that deletes…
What is a tracking pixel? A tracking pixel is just a small image (1×1) that allows you to send to the server (or an external one) some information about the action the client is being doing on your site. The src attribute of the image will be the URL of the script where the pixel…
A brief history of web development role In the early days of web development there was the “Web Developers”. They were responsible of creating the backend applications and the frontend views with HTML and a bit of javascript code, in order to validate forms and simple user interactions. Some years ago, the interest in…
Showing 1–10 of 14 posts