Sending push notifications with payloads using web-push and VAPID

The last time I used the push notification service for this blog to send out a link to a new post, I noticed that in Chrome no notification was received. After some digging around it became obvious that they changed the API, so it was the right time to check and revise the current setup. So in this article I want to show how my current system works and the tools I used, which may be interesting for some of you....

October 21, 2017 · 6 min · Dustin Chabrowski

Using rollup.js with gulp.js

Some time ago I wrote about how to use and configure rollup.js in conjunction with Babel featuring gulp.js as the task runner. Since then, a lot has happened in web developer land and fortunately things got easier as well. Because I still like gulp.js and rollup.js and one does not need the full webpack power (and sometimes madness) everytime, I want to give a quick overview on how I use these tools today....

September 30, 2017 · 4 min · Dustin Chabrowski

Performant docker container sync with docker-sync

A while ago, I signed up for the Docker for Mac Beta and was very excited once I got access to it. Mostly because I hoped one can get finally rid of the overhead and issues coming with VirtualBox and docker-machine. While the native integration is pretty sweet and just feels right, one issue which has not been solved is the slow sync with the host file system. With the release of docker-sync by Eugen Mayer, there’s finally a very promising tool available which helps you overcome this issue....

July 11, 2016 · 5 min · Dustin Chabrowski

JavaScript decorator for custom elements

Custom elements are around for quite some time, but after watching the latest episode of “Supercharged” which is about building a router component with custom elements, I felt the urge to fiddle around with it, too. To create a custom element with today’s modern APIs, there’s still some boilerplate code to write. And because I want to try out JS decorators as well, I build a simple decorator for classes which reduces the amount of this repetitive code a little bit....

June 16, 2016 · 4 min · Dustin Chabrowski

Improve (offline) user experience with Service Worker Toolbox

In the last post I introduced a push notification feature for this blog, which requires a Service Worker. This post is about making more use of this Service Worker by improving the (offline) user experience with Service Worker Toolbox. In case you don’t know what this Service Worker thingy is, I can recommend reading this and this article. Feature overkill? In order to cache resources and intercept requests there’s quite some code to write....

April 26, 2016 · 7 min · Dustin Chabrowski