icon-search

Category: Code & Tech

13.12.2017

Accessible HTML in Angular2 applications (and not only)

markus-spiske-207946-unsplasha

The reason to make an application accessible is to warranty that the web is an inclusive place available for every user. Accessibility is for everyone Yes, accessibility is for everyone. Let’s see some examples why: A power user navigating with the keyboard through an application will make use of focusable and tab reachable elements. A […]

01.02.2017

Business processes – to code, or not to code, that is the question

g-crescoli-365898-unsplash

Business processes are all around us. Pizza delivery, orders shipment and invoice acceptance are just a few examples. We need to implement these processes in software delivered to our customers. Processes have their participants, who complete process tasks. Process steps result in actions like data row updates in databases, parcels being moved around warehouses, documents […]

30.01.2017

Using Spring REST Docs for testing and documenting APIs

lauren-mancke-60627-unsplash

Have you ever seen an API documentation that’s completely out of date? Or the one that seems to be updated but examples somehow don’t work? Or the one that’s automatically generated but you can’t find anything useful in the overflow of available methods? It definitely sounds familiar to me. Fortunately, there’s a tool which helps […]

11.01.2017

Type safe JSON parsing

markus-spiske-445253-unsplash

Introduction Problems with JSON payloads A common problem when developing applications talking to external services are payloads that do not stick to the contract. When we build a typescript application consuming JSON endpoints the easiest thing to do (shown in most tutorials) is casting the payload to the expected type. This can however lead to […]

04.01.2017

Spring Web Reactive – REST Controllers

ze-zorzan-57616-unsplash

Since early 2016 the new major release of the Spring Framework has been under development. The fifth version will bring many new features and in particular a reactive version of its web framework – Spring Web Reactive. Here at Sparkbit we rely heavily on the time-tested Spring MVC module to create RESTful APIs for our […]

03.01.2017

Introduction to Unit Testing Angular 2 Components

silvio-kundt-65518-unsplash

We have already mentioned that writing automated tests for your application is important. And it doesn’t seem to be an extravagant stance on the subject as the Internet is full of similar statements. In this article, we start our adventure with unit testing Angular 2 Components. Unit tests (A.K.A. component tests – don’t confuse with […]