Polyfilling Fetch and Promises

For a new project I’m working on, I’ve chosen Preact to handle the frontend. Preact is a Fast 3kB alternative to React with the same ES6 API. So far I’m very happy with choosing Preact but that’s a story for a different blog post. Having never worked with ES6 before, choosing Preact also introduced me to cool new functions/concepts like fetch() and Promise. But web development wouldn’t be web development without browser support issues now would it?
Continue Reading…

Connect to MySQL on your Vagrant Machine

I’ve been working on setting up a Go server in vagrant today and one thing I ran into was the lack of phpMyAdmin. Because it’s a Go server there’s no PHP and phpMyAdmin needs, surprise, PHP.

I’ve used MySQL Workbench in the past for remote database management so I figured I’d just use that instead of phpMyAdmin. Connecting to my vagrant box turned out to require a bit more work than simply entering the IP address and port though.
Continue Reading…

Versions and Cache

In development, we all have small tricks to make our lives a little more comfortable. Solutions for issues we’ve learned a long time ago. Something we use without thinking about them anymore. We assume everyone knows these tricks but they don’t. And that’s okay, you probably use some tricks that I don’t know yet. That’s why I think it’s important we share these tricks with each other. Hopefully all our (development) lives will become a little more comfortable.
Continue Reading…