Technical Tutorials

46 posts
How to build faceted search with facet counters using Elasticsearch

How to build faceted search with facet counters using Elasticsearch

We all know them, search pages which allow you to filter through vast data sets by checking or unchecking filters. In most cases each filter is followed by a counter which indicates how many results will be shown when you apply that filter. Those counters inform the user about their...

Otto: First Impressions

Otto: First Impressions

A new tool called Otto came out recently. It’s a tool from Hashicorp. At the project homepage we can see the headline “meet the successor to Vagrant”. I know most of you are familiarized with Vagrant, but for those that are not: Vagrant is a tool to manage virtual...

Thread carefully

Thread carefully

As far as I can remember, PHP has always had a terrible reputation at handling very heavy (or asynchronous) tasks. For a long while if you wanted to parallelize long tasks you had to resort to forking through pcntl_fork which had its own issues, and you couldn’t really...

Set Blackfire to the rain

Set Blackfire to the rain

If you’ve ever worked on any PHP application, or package, or anything you know that debugging performance issues is hard. There are several ways to ease the pain a little: debug bars, putting timers a bit everywhere. Or if you’re courageous like I was for a long time,...

Managing data flow on the client-side

Managing data flow on the client-side

I like to think of client-side applications as empty shells that get populated with data and where the source of that data can be anything: an object in your javascript code, an HTTP request, a JSON file, … Making sure this data flows correctly through your application is one hell of...

Webpack your bags

Webpack your bags

Last updated: December 2020 By now you’ve probably heard about this new cool tool on the block called Webpack. If you haven’t looked that much into it you’re probably a bit confused by some people calling it a build tool à la Gulp and other people calling...

Using illuminate/config v5 outside of Laravel

Using illuminate/config v5 outside of Laravel

1. The Laravel framework has become very popular, between others, for its simplicity and expressiveness. With the recent release of Laravel v5, most of the core dependencies were updated. The same applies to illuminate/config, which is responsible for containing our app’s configuration. We are often involved in projects...

Elasticsearch Aggregations

Elasticsearch Aggregations

I have already covered how you can easily integrate Elasticsearch with your app, but I haven’t talked anything about how you can query your data. I won’t cover the basics of querying or filtering here, instead I will cover a cool feature called aggregations, it’s a way...

Integrating Elasticsearch with Your Laravel app

Integrating Elasticsearch with Your Laravel app

Yo! There’s a revamped version (2022) of this article about integrating Elasticsearch with your Laravel app. Searching is an important part of many applications, and it is most of the time treated as a simple task. “Just query using LIKE and you’re good to go”. Well, while the...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.