Want to build a better Twitter? Here’s a framework for you

It hasn’t been a great day for Twitter, but life goes on and the company just put code for a JavaScript component framework up on Github for folks who want to use it in their own web applications, or heck, maybe even build their own Twitter, as was suggested on (where else?) Twitter.

The Github post describes Flight as a “lightweight, component-based JavaScript framework that maps behavior to DOM nodes.”
It differs from other frameworks because it doesn’t dictate the approach developers must take to providing data to the 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.”

DOM refers to the Document Object Model — which is the standard representation of a web page and its elements — links, images etc. —  in the browser available to JavaScript.
Flight is the latest of several projects Twitter has put up on the shared Github code repository and versioning system.