icon-search

Kategoria: Code & Tech

04.01.2017

Spring Web Reactive – REST Controllers

Spring Web Reactive

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

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 […]

20.12.2016

Angular 2 Route Guards used in authorization: real life example

During the later stages of Angular 2 development, the Beta and RC phases, one of the most dynamically changing module was the router. Since it seems that one very interesting feature – the Route Guards – has reached its final version, we’d like to write about it. In this post you’ll see the changes it went through […]

28.11.2016

Typescript decorators

Decorators are a proposed standard in ECMAScript2016. In Typescript we can enable them by setting the “experimentalDecorators” compiler flag. Decorators are a mechanism for modifying classes in a declarative fashion. If you come from a Java background they might look to you just like java annotations. They can be used for all the purposes runtime […]

24.11.2016

Grid-based layout development IV: Performance

CSS and performance? In this last article of the series we will focus on how all our different options to implement a basic layout influence the performance of our site. If you take the average application and compare the weight of your CSS files with the weight of the JS ones, specially when dealing with […]

10.11.2016

Structure of an Enterprise System in Angular 2

When building a large-scale application, one has to carefully design the code structure in the project. A poor structure can lead to maintainability issues and decrease the productivity of the development team. When the system grows, it will be hard to navigate through the structure and locate the class implementing a piece of functionality. In […]