category: Code & Tech


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


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


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


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


Building Complex Business Logic With Angular 2 Services

Angular 2 services

In a traditional, multi-layered architecture, front-end side of the application occupies two of them: presentation and a part of business logic layer. Components, which are the primary construction blocks in Angular 2, make up the presentation tier, while services pertain to the business-logic one. In this article we dive deep into the world of Angular […]


Local CSS in Angular 2

Local CSS

Because of the CSS agressively global nature every CSS rule you write can potentially target unintended elements or overwrite other rules defined before it. The problems created by the lack of scoping support in the language become more painful as the project and the team size grows. With a large code base with thousands of […]