Blog

Sep 8, 2019

Firebase Custom Token REST Authentication

Consume a Firebase real-time database using REST with your own custom token.

Sep 7, 2019

RestTemplate Logging Interceptor

External API integrations can be a source of unexpected behavior and one will have a vastly easier troubleshooting if only there had been proper logging. Spring Boot’s RestTemplate allows for interceptors which is just perfect to do some logging.

Aug 3, 2019

Angular Model Converter

With a converter you can differentiate between what a user sees (view value) and what is actually persisted in the model (model value). This can be used for date/time input fields for instance where you want to display a string but want to save a JavaScript Date object.

Jan 28, 2018

Spring Boot Embedded Postgres

You probably won’t use Spring Boot’s default in-memory H2 database in production. You might use Postgres, though. Also, you see the benefit of using the same database in production, development and when unit testing. Here is how to configure an embedded Postgres for your local environment that just starts along with your Spring Boot application.

Feb 25, 2016

Replacing HTML with Jade in Express applications

Jade is great. You can progress faster and that of course is valuable. So, here is how you can make your Express application one that utilizes the strengths of Jade.

Feb 25, 2016

Mac OS X — Use XAMPP’s PHP

XAMPP’s PHP version comes with more extensions and features than the one that comes with OS X. Especially when working with Laravel you’ll find yourself in the need of installing a PHP extension. Using XAMPP’s PHP rather than OS X’s default will keep yourself from the hassle of installing a PHP extension.

Feb 25, 2016

jQuery DOM Manipulation after AngularJS Routing

You want to manipulate the DOM with jQuery on a new partial AngularJS is rendering? That’s not so easily done as you have to manipulate after the routing. With this pro tip I’ll show you how that works.

Feb 25, 2016

Firefox on OS X with Safari-like swipe animation

One of the benefits of using Safari on OS X is that it beautifully integrates with the operating system. Occasionally it went far enough that I considered to switch from Firefox to Safari. Of course I have never done that, because Firefox is great. Still, Safari comes with the smoothest experience on OS X. For instance it has that neat swipe animation when you go back or forth using your Magic Mouse or Trackpad. On Firefox the gesture works as well, but it doesn’t fade the swipe animation in.

Feb 25, 2016

AngularJS $resource Population

A profile entity might have a userId attribute. Let’s say you fetch a profile and don’t only want the id of the user the profile belongs to, but the whole user object. How would you populate it neatly? That’s what I came up with.

Feb 25, 2016

AngularJS and Laravel — Kick-Start Yourself!

Kick-start yourself for a Single Page Application featuring the modern Laravel PHP framework and Google’s acclaimed front-end framework AngularJS. Just download and install and you have a good foundation for building any application.