How to run Angular 2 in Production Today

Updated To Angular 2 Release Candidate Recently there where announcements that made clear that the Angular 2 final release is just around the corner. This might be as early as mid-May during Google IO ! But thats still several months into the future, and there are many projects that will start…

Angular 2 coming to Java, .NET and PHP: the first multi-language full stack platform?

Updated To Angular 2 Release Candidate Angular 2 is getting near the final release, and the whole community is really excited about the possibilities that it will bring. But the latest announcement a couple of days ago about the likely final release in May included one important quote about the…

How does Angular 2 Change Detection Really Work ?

Updated To Angular 2 Release Candidate The Angular 2 change detection mechanism is much more transparent and easier to reason about than its equivalent in Angular 1. But there are still situations (like when doing performance optimizations) when we really need to know whats going on under hood. So let's…

How to build Angular 2 apps using Observable Data Services - Pitfalls to avoid

Updated To Angular 2 Release Candidate In this post we are going to see how an Angular 2 application can be built around the concept of observable data services. This is one of several strategies available for building the application service layer. Lets go over the following topics: Alternative architectures…

Angular 2 Application Architecture - Building Redux-like apps using RxJs

Updated To Angular 2 Release Candidate In this post, we are going to walk through how Angular 2 applications can be built in a Functional Reactive style using the RxJs library that is part of Angular 2 (see Managing State in Angular 2 Applications by Victor Savkin (@victorsavkin). We will…

Functional Reactive Programming for Angular 2 Developers - RxJs and Observables

Updated To Angular 2 Release Candidate In this post we are going to go over the concept of Functional Reactive Programming from the point of view of an Angular 2 developer. Most of this is applicable for Angular 1 applications, but the examples in this post are in Angular 2…

How to create an Angular 2 component library, and how to consume it using SystemJs or Webpack

Updated To Angular 2 Release Candidate In this post we are going to see how an Angular 2 component library can be built and then consumed using both SystemJs and Webpack. Let's go over the following topics: Choosing a format to publish an Angular 2 library - CommonJs Setting up…

Angular 2 Application Architecture - Building Flux Apps with Redux and Immutable.js

In this post we will explore how to design an Angular 2 application according to the Flux architecture, by using the Redux and Immutable.js libraries. We will go over the following topics: The challenges of building large scale single page apps Three types of state in an app The…

Introduction to the Jspm package manager and the SystemJs module loader

This post was updated on May 2016 In this post we will go over the current state of ES6 modularity, by learning how to use the Jspm package manager and its associated SystemJs module loader (the sample code is available here). We will go through the following topics: Using ES6…

Introduction to Angular 2 Forms - Template Driven, Model Driven Or In-Between

This post is updated to Angular 2 Release Candidate In this post we will see how the Angular 2 Forms API works and how it can be used to build complex forms. We will go through the following topics: What is Angular 2 Forms all about Template Driven Forms, or…

Introduction to Angular 2 - The Fundamentals of Components

This post is updated to Angular 2 Release Candidate Although the Router part of Angular 2 is still changing a lot, the public API for building components is already quite stable. In this post we will go through on how we can build components with this new version of Angular…