Flight – An event-driven web framework, from Twitter

Leave a comment

Flight is a lightweight, component-based JavaScript framework that maps behavior to DOM nodes. Twitter uses it for their web applications.

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.

Not only does this obviate the need for additional data structures that will inevitably influence the broader architecture, but by mapping our functionality directly onto the native web we get to take advantage of native features. For example, we get custom event propagation for free by piggy-backing off DOM event bubbling, and our event handling infrastructure works equally well with both native and custom events.

Twitter have included a simple email client demo built over the Flight framework.

Requirements:
jQuery Framework, ES5-shim
Site:
Demo:
Download:
License:
MIT License
SPONSORS
Related Resources
May 10, 2013
Boxy App

Sassaparilla is a fast way to start your responsive web design ...

May 8, 2013
Boxy App

Popcorn.js is an HTML5 media framework written in JavaScript for filmmakers, ...

Apr 29, 2013
Boxy App

Ember.js is a JavaScript framework for creating ambitious web applications. It ...

Mar 26, 2013
Boxy App

The first of its kind, Kickstrap is a no-install front-end framework ...

x
Please follow us