Year: 2016

There’s one situation where we need to help ElasticSearch to understand the structure of our data in order to be able to query it fully – when dealing with arrays of complex objects. ElasticSearch has one great feature that it …

ElasticSearch Nested Filter Not Matching Emails Read More »

Tagged with: , , , , , ,

I’ve upgraded my dev server to latest version of Debian. Everything was going smoothly until I’ve got an error from mysql-server that it cannot be installed due to an error. I checked few websites that I have there running and all of …

MySQL not starting – unknown variable table_cache Read More »

Tagged with: , , ,

I was playing with PHP the other day and was trying to fetch and rename 1000s of files I have stored locally on my machine. Seemingly PHP isn’t the best language to that operation Python or even BASH could do …

Get All Files in Directory and All Child Directories Read More »

Tagged with: , , , , ,

Dates as a concept are seamingly simple and straight forward. Though in programming world those could be rather complex starting from format, representation, time zones, machine default configuration going through different calendars and date manipulations. In this post I won’t …

Change default date for Jackson in Spring Boot application Read More »

Tagged with: , , , , , ,

Polymorphic type handling based on JSON property Building an API that supports inheritance could be quite crucial. Imagine the case where you want to have an endpoint that stores a profile data for a given provider and that provider could …

Swagger and polymorphic type handling with Jackson Read More »

Tagged with: , , , , , ,

Many people go for different solutions and sometimes overcomplicate their applciation with message queues like ActiveMQ, RabbitMQ and other options out there. Though this is yet another part in the application architecture that would require maintenance and support and it’s …

Spring Boot: Executing asynchronous method backed with a queue Read More »

Tagged with: , , , ,

One of the core Agile practices is to inspect and adapt. We inspect the developed software in the business review or demo meeting to ensure that we are delivering the right product. And we inspect how the team performs and …

Best practices in Agile Retrospectives Read More »

Tagged with: , , , ,

What happens if you need to make changes to your API? If you’re making additions to the API – e.g., adding services or adding fields to your services – you likely don’t need to do anything more to notify users …

API Versioning – best practices Read More »

Tagged with: , , ,

When I build apps or add new functionality to Symfony2 I build it into a separate bundle, thus trying to keep the structure modular which is generally a good practice as everyone knows. Keeping all parts of the bundle together …

Load configurations from custom bundle in Symfony2 Read More »

Tagged with: , , ,

Problem I am using Magnolia CMS 5.4 and I want to build a module that will render some content of a page and expose it over REST API. The task is simple but not sure how to approach it and/or …

Programatically render template area in Magnolia CMS Read More »

Tagged with: , , , ,