Andrew Thorp changelog.com/posts

Web applications take flight with twitter!

Flight is a new lightweight component-based JavaScript framework by the developers at twitter. They wrote a wonderful article about it so I would encourage you to read it!

From the Flight homepage they answer, Why Flight?

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 on 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 piggybacking off DOM event bubbling, and our event handling infrastructure works equally well with both native and custom events.

To keep up to date with Twitter Open Source, follow @TwitterOSS. Also, checkout the project on GitHub or view the README.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00