flux

Posted lightsong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了flux相关的知识,希望对你有一定的参考价值。

 

f

lux

https://facebook.github.io/flux/

Flux is the application architecture that Facebook uses for building client-side web applications.

It complements React‘s composable view components by utilizing a unidirectional data flow.

It‘s more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.

https://github.com/facebook/flux/tree/5dc1dd79c76e57b76bed0f764b5937c52205ca3e/examples/flux-concepts

flux-concepts

These are the important high-level concepts and principles you should know about when writing applications that use Flux.

 

Overview

Flux is a pattern for managing data flow in your application. The most important concept is that data flows in one direction. As we go through this guide we‘ll talk about the different pieces of a Flux application and show how they form unidirectional cycles that data can flow through.

技术图片

 

flux解释

http://www.ruanyifeng.com/blog/2016/01/flux.html

简单说,Flux 是一种架构思想,专门解决软件的结构问题。它跟MVC 架构是同一类东西,但是更加简单和清晰

Flux存在多种实现(至少15种),本文采用的是Facebook官方实现

 

具体使用方法也见阮大文章,代码和文字都形象好理解。

 

flux含义

https://www.merriam-webster.com/dictionary/flux

Definition of flux

 (Entry 1 of 2)

1 : a flowing of fluid from the body: such as
2 : a continuous moving on or passing by (as of a stream)
3 : a continued flow : flood a flux of words
4a : influx
b : change, fluctuation in a state of flux the flux following the death of the emperor
5 : a substance used to promote fusion (as of metals or minerals) especially : one (such as rosin) applied to surfaces to be joined by soldering, brazing, or welding to clean and free them from oxide and promote their union
6 : the rate of transfer of fluid, particles, or energy across a given surface

http://www.ichacha.net/flux.html

n.
1.流,流出;流动。
2.涨潮。
3.不断的变动,波动。
4.【物理学】流量,通量,电通量,磁通量。
5.熔解,熔融;助熔剂;焊剂。
6.【医学】异常溢出;腹泻。

短语和例子


vt.
1.熔化,使熔解。
2.用助熔剂处理。
vi.
1.(潮)涨;流出。
2.熔化。

 

以上是关于flux的主要内容,如果未能解决你的问题,请参考以下文章