By: Gigaom
Want to build a better Twitter? Here’s a framework for you
Developers over at Twitter have open sourced the code for Flight, a JavaScript framework for web applications.

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.

Twitter down for you right now? Fear not, we open sourced our JavaScript component framework so you can build your own.
Ben Ward (@BenWard) January 31, 2013

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.

Related research and analysis from GigaOM Pro:
Subscriber content. Sign up for a free trial.

Stock Market XML and JSON Data API provided by FinancialContent Services, Inc.
Nasdaq quotes delayed at least 15 minutes, all others at least 20 minutes.
Markets are closed on certain holidays. Stock Market Holiday List
By accessing this page, you agree to the following
Privacy Policy and Terms and Conditions.
Press Release Service provided by PRConnect.
Stock quotes supplied by Six Financial
Postage Rates Bots go here