April 17, 2019

Content Projection in Angular

What is Content Projection Those of you who already worked with angular.js 1.x might be already familiar with the concepts described in this post. In angular.js 1.x you might know this concept under the infamous name transclusion. It’s not a concept invented by the Angular Team but rather one that describes how content of any […]
READ MORE

Kai Henzler
Developer at thecodecampus </>


April 15, 2019

How to use Angular Environments shown with a Tetris Game

About Ng-dropping-stones is a small Tetris clone built with Angular 7. It can be played in the browser as well as on a raspberry pi based arcade machine, which we present at fairs (JavaLand, enterJS, Herbstcampus). History At first, ng-dropping-stones was designed for our arcade machine to present it on fairs. It was very well […]
READ MORE

Nina Schulz
Developer at thecodecampus </>


April 3, 2019

Fill Gitlab-CI Postgres Database Service with SQL

We all love the Gitlab-CI and it’s docker support, also the services are a nice feature to get a database into your pipeline task. But recently we had the issue that we need to prefill the given postgres:latest  service with some sql data for testing. For ubuntu based docker images, there is a easy solution: […]
READ MORE

Frederik von Berg
Developer at thecodecampus </>


April 1, 2019

Refactorable reactive forms in angular

Problem When creating forms with Angular, many accesses take place in the template using strings. This makes it difficult to perform refactorings automatically. It would be so desirable: Status quo Also the FormBuilder does not manage to get the problems better under control. It is only a help for the creation of the data structure […]
READ MORE

Sascha Engmann
Developer at thecodecampus </>


December 31, 2018

Android Room: room Entity class must be annotated with @Entity

If you run into the following error you probably provide a class that is either not correctly annotated or shouldn’t be there.

The source of this problem usually can be found by looking at your database class, the example code is in Kotlin but should also apply to Java:

Now make sure, that any […]
READ MORE

Can Kattwinkel
Developer at thecodecampus </>


December 11, 2018

Using git hooks to keep your codebase clean

Problem Let’s be honest – developers tend to be lazy. Whenever you start a new project you’re probably saying to yourself that you want to do everything better this time but often times your new project becomes the same mess as your previous one. I want to introduce a neat little trick that might help […]
READ MORE

Kai Henzler
Developer at thecodecampus </>


December 4, 2018

Introduction to Live Templates in IntelliJ IDEA

There are many ways how IntelliJ IDEA can boost your productivity by raw input speed. Firstly, there is Code Completion which is a standard for most code editors, and offers a great deal of help. Secondly, there is Postfix Completion. Maybe this name doesn’t sound familiar to you but you are probably using it already. […]
READ MORE

Christian Heitmann
Developer at thecodecampus </>


December 3, 2018

Nested Forms in Angular

This Article is based on Kara Ericksons talk about “Angular Forms” at the Angular Connect 2017. I am going to give you a quick example to get started with nested Forms. TL;DR Extract the HTML in new ComponentInject ControlContainer in new ComponentAccess the Form via ControlContainer.controlpass the parent Form into the nested Component with the […]
READ MORE

Frederik von Berg
Developer at thecodecampus </>


December 2, 2018

Building Flutter on Gitlab – Flutter Android Image

When it came to building a Flutter MVP application, I was very dissatisfied with the existing Flutter Images. They were outdated by many many versions. Therefore I created an image reflecting the current version of Flutter. The source is on Github, you can find the Image ‘kattwinkel/flutter-android’ on Docker Hub. A minimal .gitlab-ci.yml file might just […]
READ MORE

Can Kattwinkel
Developer at thecodecampus </>