Flight : An Event Driven Framework from Twitter

Flight by Twitter

Flight is a lightweight, component-based JavaScript framework that maps behavior to DOM nodes. Flight is distinct from existing frameworks in that it doesn’t prescribe or provide any particular approach to rendering or providing data to a web application.

It’s agnostic to how requests are routed, which templating language you use or even if you render your HTML on the client or the server. While some web frameworks encourage developers to arrange their code around a prescribed model layer, Flight is organized around the existing DOM model with functionality mapped directly to DOM nodes.

Flight enforces strict separation of concerns. When you create a component you don’t get a handle to it. Consequently, components cannot be referenced by other components and cannot become properties of the global object tree. This is by design. Components do not engage each other directly; instead, they broadcast their actions as events which are subscribed to by other components.

[button color=”blue” size=”medium” link=”http://twitter.github.io/flight/” target=”blank” ]Flight[/button]

Flight : An Event Driven Framework from Twitter
Rate this post

Leave a Reply