How to run Angular 2 in Production Today

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 between now and then. A question…

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

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 future of Angular: With Angular 2…

How does Angular 2 Change Detection Really Work ?

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 dig deeper into change detection by…

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

In this post we are going to see how an Angular 2 application can be built around the concept of observable data services. An application is available in this repository as an example of how to build Angular 2 applications this way. Lets now go over the following topics: Alternative…

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

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. This post is based on Managing State in Angular 2 Applications by Victor Savkin (@victorsavkin), check it out for…

Functional Reactive Programming for Angular 2 Developers - RxJs and Observables

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. Lets go over the following topics…

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

In this post we are going to see how an Angular 2 component library can be built and then consumed. Check this repository for a minimal sample library and examples on how to consume it in both SystemJs and Webpack. Let's go over the following topics: Choosing a format to…

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. Have a look at angular2-redux-store for a sample. We will go over the following topics: The challenges of building large scale single page apps…

Introduction to the Jspm package manager and the SystemJs module loader

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 modules today Why is modularity important in…

Introduction to Angular 2 Forms - Template Driven vs Model Driven Forms

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, based on examples available in this repository: What is Angular 2 Forms all about Template Driven Forms, or the Angular…

Introduction to Angular 2 - The fundamentals of Components

Although the internals of Angular 2 are 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, based on some code examples (the code is available here…