Upgrade to Pro — share decks privately, control downloads, hide ads and more …

50 Shades of Flux

50 Shades of Flux

There are now more Flux implementations than MV* frameworks have ever existed.

But what is Flux? Could it be used without React.js? Why is it better than MV* approaches? What are its drawbacks and pitfalls? Should I move on together with Flux or just stay and wait with my lovely MV*-like architecture?

Ilya Pukhalski

August 28, 2015
Tweet

More Decks by Ilya Pukhalski

Other Decks in Technology

Transcript

  1. — DHTML — AJAX — Rise of REST and JSON

    // 2005 — jQuery // 2006 — JavascriptMVC //2007 — Mass drop of IE6 support // 2009-2010 — Rise of SPAs // 2010 — knockout // 2010 — backbonejs // 2010 — AngularJS // 2010 — todomvc // 2012 — React // 2013 — Flux // 2014
  2. — DHTML — AJAX — Rise of REST and JSON

    // 2005 — jQuery // 2006 — JavascriptMVC //2007 — Mass drop of IE6 support // 2009-2010 — Rise of SPAs // 2010 — knockout // 2010 — backbonejs // 2010 — AngularJS // 2010 — todomvc // 2012 — React // 2013 — Flux // 2014
  3. — DHTML — AJAX — Rise of REST and JSON

    // 2005 — jQuery // 2006 — JavascriptMVC //2007 — Mass drop of IE6 support // 2009-2010 — Rise of SPAs // 2010 — knockout // 2010 — backbonejs // 2010 — AngularJS // 2010 — todomvc // 2012 — React // 2013 — Flux // 2014
  4. The flow inside the MVC pattern is not well defined.

    Compare ASP.NET, Cocoa and RoR MVC implementations.
  5. — AngularJS — Backbone — Ember.js — Cappucino — Spine.js

    — Echo — Chaplin — Marionette — ExtJS — Enyo — Knockout — Sproutcore — JavascriptMVC — Dojo — Mithril — Knockback — CanJS — Flight — Ampersand — TroopJS — Vue.js — Thorax — Kendo UI — Serenade — Sammyjs — PureMVC — Durandal — bem-mvc — Aura — Natman — Maria — Espresso — EasyMVC
  6. — Experience: the knowledge about the disease from our neighbours


    — TodoMVC and similar projects 
 and publications
 — Evolution — Flux
  7. Components, that produce actions, that change the app state within

    the stores, that update components with the new state.
  8. As a front-end developer, I want to think in more

    understandable and applicable abstractions.
  9. — Flux — Reflux — Fluxxor — Alt — Flummox

    — Fluxible — redux — microcosm — nuclear-js — fluce — McFly — Zero Flux — Catberry — Tuxx — Marty.js — Fluxette — fluxthis — fluxex — Minimal Flux — delorean — fluxify