Flux explained for newbies - Part 4

Reading Time: 5 minutes

Introduction

Flux-CapacitorIn the third part of this article series I introduced the Dispatcher, the central hub of the Flux architecture,which is responsible for propagation of actions. I also showed, that in most implementations actions can be chained, albeit I do not recommend to make regular use of that feature. In this last part of the series I present the Action Creator which helps us to launch actions in an expressive manner.

Continue reading

Flux explained for newbies - Part 3

Reading Time: 4 minutes

Introduction

Flux-CapacitorIn the second part of this article series I explained that Flux is an architectural pattern and introduced the concept of a Store, one of the essential elements of Flux. I gradually explained the meaning and functionality of a Store and how it differs from the concept of a classical model. I emphasized that a Store in Flux is responsible for maintaining and updating its application state, and notifying interested components. I concluded the article with code snippet demonstrating the usage of a Store using a fictitious Flux implementation. This part introduces the Dispatcher.

Continue reading

Flux explained for newbies - Part 2

Reading Time: 5 minutes

Introduction

Flux-CapacitorIn the first part of this article series I started to talk about "WHY?" using Flux. Using a simple form component as example I demonstrated, that we need to decide how our form data flows. I concluded the post, that the inherent way of how data flows in component based application can be quite cumbersome, especially if a complex component consists of a multi-layered component-hierarchy. Traditional data-binding (may it one-way, or two-way) leads to a chain of re-passing data down- and upwards the component tree. Extrapolating the given problem we can depict the problem in a more generic way.

Continue reading

Javascript Evolution - 2015 Preview

Reading Time: 3 minutes

The upcoming year will be a milestone in history of Javascript evolution. In mid of 2015 the ECMA 6 "Harmony" is going to be released, which brings a bunch of new features, like a native Promise API, Arrow Functions, Generator Functions, Maps and Sets, and a lot of more. Nowadays, some features are already supported by the more elaborated major browsers. To have a better idea what is currently supported take a look at this page. The excellent documentation of MDN covers at least the features implemented already available in FF.

Continue reading