News for hackers. Stuff that matters.
Re:A Cartoon Guide to Flux by whatever_dude on Tuesday October 27, 2015 @10:02AM (#10458009)
Great work.

However: while I feel this cartoon (and other Flux introductions I've seen) capture well the concepts behind Flux, none of them make up for the amount of boilerplate and just over-the-top abstractness (IMO) that goes into actually implementing vanilla Flux.

To me that is the biggest problem to make it easier for people to adopt it, not understanding the concept.

Re:A Cartoon Guide to Flux by djcollier on Tuesday October 27, 2015 @11:09AM (#10458441)
This. Once I got my head around flux, it made sense, and I understood why its a good way of designing the data flow inside a web application, but as someone who likes to hack together projects quickly, setting up a flux architecture required a lot of effort on my side, effort I would rather spend building out functionality.
Re:A Cartoon Guide to Flux by danmaz74 on Tuesday October 27, 2015 @12:40PM (#10459203)
My advice: drop Flux, and use Redux instead. There is less boilerplate, and it improves on Flux's original ideas.

http://redux.js.org/

Re:A Cartoon Guide to Flux by k__ on Tuesday October 27, 2015 @08:41AM (#10457578)
This is a real good introduction, but I wouldn't call it a cartoon.

It's a big text with many drawings.

Everytime I read the title I think "wow super easy panels and stuff" but then I see the wall of text.

Re:A Cartoon Guide to Flux by xixixao on Tuesday October 27, 2015 @06:37AM (#10457206)
There is a following guide to Redux and its differences to Flux at the end of the article[0]. Great explanation!

[0] https://code-cartoons.com/a-cartoon-intro-to-redux-3afb77550...

Re:A Cartoon Guide to Flux by notdonspaulding on Tuesday October 27, 2015 @12:31PM (#10459132)
I love that the cartoon he used in that one included Richard Ayoade's "The IT Crowd" character. I read that cartoon's interactions in his voice in my head. Really livened up the presentation. :-)
Re:A Cartoon Guide to Flux by codecartoonist on Tuesday October 27, 2015 @07:36PM (#10461952)
Bonus reference: the root component is Denholm Reynholm. One of the lines in the cartoon is cribbed almost directly from episode 1.
Re:A Cartoon Guide to Flux by scottbruin on Tuesday October 27, 2015 @01:42PM (#10459725)
*she
Re:A Cartoon Guide to Flux by notdonspaulding on Tuesday November 03, 2015 @03:43PM (#10502488)
Mea culpa. I would edit my comment but it's apparently too late. My apologies to the author.
Re:A Cartoon Guide to Flux by flaie on Tuesday October 27, 2015 @07:39AM (#10457372)
Indeed great explanation, but the Flux one seemed a little easier for me. This is the first time I read about redux, and even with the cartoon it feels complicated.
Re:A Cartoon Guide to Flux by aymeric on Tuesday October 27, 2015 @06:26AM (#10457167)
This is awesome. Thanks a lot for these cartoons. Please keep going, you have found a great niche!
Re:A Cartoon Guide to Flux by martijn_himself on Tuesday October 27, 2015 @06:35AM (#10457202)
This is probably the best introduction to Flux I have read. I think people (in general) respond better to visual representations of complex processes- and this visual story nails it.
Re:A Cartoon Guide to Flux by mannykannot on Tuesday October 27, 2015 @08:48AM (#10457622)
For me, it's not the pictures that convey the message so much as the words. By telling a story with actors who have goals, run into obstacles and find ways to surmount them, the author is using language in a way that it evolved for. I recall reading a study that showed people generally solve logic puzzles better if they are framed as stories within a social context, rather than as abstract questions.

The pictures help illustrate the text, but while the text could (almost) stand alone, the pictures could not.

Re:A Cartoon Guide to Flux by danmaz74 on Tuesday October 27, 2015 @08:02AM (#10457452)
For those who like visual representations, but a bit more technical: http://danmaz74.me/2015/07/27/flux-architecture-visual-cheat...
Re:A Cartoon Guide to Flux by conorgil145 on Tuesday October 27, 2015 @02:12PM (#10459979)
Neat cartoon. It helped me understand Flux a little bit better.

In step #4 (Once it’s done changing state, the store lets its subscribed view controllers know), why can't the child views just subscribe directly to the stores and remove the view controller as a middle man?

Re:A Cartoon Guide to Flux by frozenport on Tuesday October 27, 2015 @11:45AM (#10458738)
As a C++ dev, I am suprised that Facebook got credit for a rather standard model view paradigm.
Re:A Cartoon Guide to Flux by afarrell on Tuesday October 27, 2015 @05:20PM (#10461229)
I really like the way the author anthropomorphizes the pieces of the flux architecture here. I am in the middle of writing a saltstack tutorial and wonder if I should do the same.
Re:A Cartoon Guide to Flux by fiveoak on Tuesday October 27, 2015 @11:24AM (#10458561)
Re:A Cartoon Guide to Flux by loco5niner on Tuesday October 27, 2015 @11:18AM (#10458506)
Great! I would love to see more of these :-)