-
Page 3 of 7
Database Basics, Part 1: What are Relational Databases?
As a software developer trainee, I did have an okay grasp of databases. But then enter Ruby on Rails’s Active Record and suddenly there seems to be quite a lot of magic and the mystery of “relational databases.” It seemed to me that the concept of relational databases was something that was inherent to Active Record, and I wanted to understand how to use them. My instructor pointed out that not Active Records but a type of database provides that functionality, namely relational databases. And to understand them, he recommended to start at the beginning: databases.
more...Micro frontends with Stacker
Stacker is the backbone of our implementation of Micro Frontends.
more...Article: Home Office Tips in Times of Covid-19
Similar to many other companies where remote work is possible, BetterDoc also decided to let their employees stay at home and work from there.
For many of us who are not working regulary from home this is a totally new challenge, even for those who work from home at times. It is scientifically proven that employees working from home often work more than the 40 hours a week. This can have a bigimpact on you as an employee, for instance depression, burnout and long-term reduced productivity.
To overcome this we have a few tipps to stay physically and mentally healthy in times of Covid-19.
more...Article: How to be a happy developer?
Once in a while I publish stuff. This one is for my German speaking and reading audience.
My article about “How to be a happy developer” has been published in the February 2020 edition of the German magazine “Java Aktuell” by the iJUG (Interessenverbund der Java User Groups e.V.).
The German title is: “Als Entwickler glücklich sein – Tipps und Tricks”.
more...Optimize Docker images for Ruby on Rails applications
This article shows how to optimize a Docker image for a Ruby on Rails application both in terms of making the image as small as possible as well as how to improve the time it takes to create the image.
more...Setting up a NAT gateway on AWS using Terraform
We’re in the middle of migrating a lot of our infrastructure components to AWS. One thing that took me a while to wrap my head around is how to setup a VPC (Virtual Private Cloud) at AWS in a way that all our outgoing traffic is routed via a fixed IP address. In this article I will demonstrate how this can be done, using Terraform to setup all required resources at AWS.
more...Using Terraform to provision infrastructure resources
As we create more and more new service and require more and more infrastructure resources to support those services, we have started to use Terraform to manage our infrastructure.
In this article, I would like to give an overview of how we structure our Terraform setup.
It’s designed to build up a common vocabulary and understanding of why we do things the way we do them and provide a little bit of background information how and why we made the decisions that lead to the current setup.
As we’re using AWS to deploy our cloud infrastructure, most of the examples will relate to AWS but in principle should be provider-agnostic and can apply to other providers as well.
more...How to setup proxy authentication in AWS API Gateway with Ruby
There will always be the cases where your Amazon API Gateway endpoints, or even generally speaking some of your API endpoints hosted wherever, have to be protected from the public. Some things are just not meant for the outside world (yet!) and they have to be kept away. There are multiple reasons to this, i.e. protected endpoints serve as your sandbox/test systems, data/information protection, maintaining of business reputation amongst end users, keeping low infrastructure costs/bills e.t.c. The lastly mentioned reason will be relevant in this article, especially in relation to the Amazon WebServices (AWS) infrastructures.
A quiet straightforward way to protect your endpoint is by integrating the HTTP Basic Authentication. It might seem like a no-brainer, but integrating this into your Amazon API Gateway proxy might be rather tedious.
This article explains how set up a simple but effective configuration on the AWS ecosystem using an endpoint proxy hosted through the Amazon API Gateway with the following instructions below.
more...Why my local development environment will never mirror the production environment
A few days ago I stumbled upon a discussion on Twitter of whether or not a local development environment should be kept identical to the production environment:
A decade ago, we had a simple rule: Keep your dev environment identical to production environment.
— Jaana B. Dogan (@rakyll) August 13, 2019
Is it even possible today?The original assumption in the tweet is by itself interesting: Did we actually have that rule? Keep the development environment identical to the production environment? Did it ever work?
From my personal close to 20 year experience in software engineering I never had the situation where a development environment actually mirrored the production environment. And I would even go as far as to say: That’s a good thing!
Let’s dive into why I think that is.
more...Why and how to pick a UI framework for prototyping web-based experiences.
When you are looking for a way to build useful, usable and beautiful digital products in a faster way, UI frameworks might be worth a look. But since there are tons of options, deciding on one is definitely challenging: Here is how we approached this challenge.
more...-
Page 3 of 7