-
Migrating to TypeScript with Angular 1.x
This is a post for you who have built your fair share of Angular 1 projects and noticed that when it gets big it gets harder and harder to keep track of.
-
Testing the UI as a service
I’m going to touch on a few things we are doing around the UI testing of our websites, tracking features, perceptual difference testing, continuous delivery…. brace yourselves.
-
The Flux pattern, with Angular 2 and Observables
I’m going to run through how to implement the flux pattern in Angular 2 using observables.
In particular I hope the post conveys the following key concepts:
- Views only generate actions, and are not two way data bound to data models.
- Actions use a dispatcher to centralise the distribution of events.
- Data stores subscribe to the dispatcher and update themselves when relevant events are raised.
- Views subscribe to changes in the data store and update when the stores update.
- The pub / sub model for the dispatcher and data stores are implemented using RxJS observables.
Update: This was built with an alpha version of Angular 2, and some of the angular semantics have changed since the beta release. However the key principles still hold.
-
Field trip to AngularConnect
A couple of weeks ago the team and I made the trip to the other side of London to attend AngularConnect, the largest Angular conference in the world to date. I’m slightly biased about the event as I’m one of the organisers but the vibe was great and the speakers all did an amazing job getting everybody excited about Angular 2. I strongly recommend you check out some of the videos from the conference, the highlights for me were the keynote and talks about observables (Jeff Cross and Ben Lesh both gave talks about them).
subscribe via RSS