Huy Pham discusses Flux and its implementation on mobile platforms. Flux is an application architecture used by Facebook for building client-side web apps. It consists of a dispatcher, stores, and views. Flux was inspired by for mobile development, with similar concepts like actions (called spreads), stores (called pools), and models. The document also introduces Spread, a library inspired by Flux for building iOS and Android apps, with features like JSON mapping, React integration, and remote data handling.
4. FACEBOOK FLUX
• Flux is not a framework, Flux is an application
architecture.
• Facebook uses Flux for building client-side web
applications.
• Flux has three major parts: dispatcher, store, view.
7. FLUX ON IOS
Action View
Action
Store
Flux architecture
Create an action
and pass parameters
to store
Store register
event in Action
8. FLUX ON IOS
Action View
Action
Store
Flux architecture
Store have models.

Store receive parameters
from Action and then update
models data
After store update models data,

models will emit change event.

Views listen to the model so views
will be changed.
9. SPREAD
• Spread was inspired by Flux.
• Spread has Action (named Spread), Store (named pool), and Model.
• Other features:
1. Create and mapping JSON.
2. React
3. Fetch and push data.
4. Remote event manager
5. And more…
• Github: http://github.com/huyphams/spread