
In previous post, I show how to manage indices in Elasticsearch using elasticsearch-php library. In this post, I will show how to index document with this library. Read the post
When I'm not writting code for my job, I do it for personal project and fun. I'm self-taught man, 20 years ago I read a lot of tech blogs to learn basics and advanced concepts. Now it's my turn to share my knowledge. Most of posts in this category is about programing with PHP using Symfony framework for backend using cool poject like RabbitMQ or Elasticsearch. I'm also writting a little about Javascript for frontend dev.
In previous post, I show how to manage indices in Elasticsearch using elasticsearch-php library. In this post, I will show how to index document with this library. Read the post
I already wrote on this blog about elasticsearch-php library maintained by Elastic, the firm that created Elasticsearch. It's my first choice when I need to add Elasticsearch to a project. This library wrap the whole REST API of Elasticsearch including indices management and this is the subject of this post. How to manage indices with elasticsearch-php. Read the post
Behat is a well known test behavior framework, used on many project. I always used it to validate webpage or API behavior. In this blog post, I will show you how to setup Behat to use it for testing Symfony command. Read the post
To change a small snippet on Doctrine 2 ORM to learn how to handle parentheses in the WHERE clause of an SQL query. Read the post
How to use Elasticsearch in a Symfony project? Which librairy or bundle to choose? I often read these questions on community slack. I'm not going to write a complete guide, but I give you my point of view on different tools I used in the past or still use. Read the post
Today I tell you a little story about MariaDB and Doctrine2 sinking and how Redis, coming to save them, sinks them even faster. Feedback on my setbacks with Redis and Doctrine2 hoping to relieve a MariaDB out of breath. Read the post
There isn't an application that is really security proof and will not suffer to a data breach. Encryption of the data is a good approach to reduce data breach impact. In this post, I'm going to show you how to use encryption in PHP with real world case. Read the post
This article shows, by example, the usage and syntax of the Symfony2 Expression Language component in service files written in XML or Yaml. This component allows you to add dynamism to configuration files. Read the post
In this article, I show how to group its code in a PHP Phar archive. This step a little complicated, is now greatly facilitated by tools available on Github. I illustrate here, the use of clue/phar-dial. Read the post
Posting a message in RabbitMQ is very easy, unfortunately RabbitMQ does not provide any feedback on the success or failure of the delivery in a queue. A simple typo in the routing key and the message will be lost forever without being informed. The Alternate Exchange option allows you to retrieves these "lost" messages in a specific queue. Read the post