Develop With Containers

Posted on January 4, 2019
Docker  Container 
Develop With Containers header image

Develop containerized applications

When using docker for developing a microsoervice architecture, than the easiest way to let them run on a development machine is by putting all pieces into docker containers and let the debugger debug into the docker container.

This can slow down your development process as a change in the application can result in a compile, build image, start container process. And the classic way of comiple and run in the IDE tend to be a lot faster.

So I came up with a solution that our nginx reverse proxy does not send the request to the containers, that I am working on, but to the host. And all containers I am not working on are running as containers.

In my example, I have a simple .NET core REST-API as backend server I am working on, an Angular application as frontend I am working on and another backend service which is just used as it is.

Read More

Configure URL from server before http-request in Angular

Posted on August 16, 2017
Angular  Typescript 
Configure URL from server before http-request in Angular header image

For an angular application which is deployed inhouse to several customers, the application has to figure out, where the backend server exists.

Setting the url in the environment was not useful, as each customer needs his own url and this would end up in big build scripts.

Also the customer could not reorganize the server names on his own, without breaking the application if he chooses to change the server name.

Read More

Angular ControlValueAccessor by example

Posted on August 8, 2017
Angular  Typescript 
Angular ControlValueAccessor by example header image

The ControlValueAccessor is Angulars interface to interact with a form control.

At sLAB we currently develop an angular client for the sMOTIVE product. We wanted to extend some form controls with own behavior and had some issues with the ControlValueAccessor.

Read More

Migrating climbing course website to Angular

Posted on March 18, 2017
Angular  Typescript 
Migrating climbing course website to Angular header image

Introducing Angular 2 as Backend SPA for a climbing course website.

As my company decides to evaluate Angular 2 as our new framework to build our web application, I thought it would be a good experience to migrate one of my own projects to Angular 2.

Read More

Kotlin and TornadoFX

Posted on October 19, 2016
Kotlin  JavaFX  JSON Table Schema  TornadoFX 
Kotlin and TornadoFX header image

Converter for the old validation configuration written in Kotlin.

As I have changed the JSON for configure the SmartCSV.fx from my own Schema to JSON Table Schema, I had to provide a converter for existing configurations.

I wanted to write less code than I typically do in Java and learn something new. Therefor I started a new project in Kotlin a programming language invented by JetBrains, the people behind the excellent IntelliJ IDEA IDE.

Read More

  • Page 1 of 4
  • s