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 is only ~5K minified and gzipped.
It's built upon jQuery, and has first-class support for Asynchronous Module Definition (AMD) and Bower.
Flight components are highly portable and easily testable.
This is because a Flight component (and its API) is entirely decoupled from other components.
Flight components communicate only by triggering and subscribing to events.
Flight also includes a simple and safe mixin infrastructure, allowing components to be easily extended with minimal boilerplate.
How does it work?
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.
Events are open ended. When a component triggers an event it has no knowledge of how its request will be satisfied or by whom.
This enforced decoupling of functionality allows the engineer to consider each component in isolation rather than having to reason about the growing complexity of the application as a whole.
Mobility and Testing
Each component is a module, which aside from a minimal set of standard dependencies (relevant Flight utilities and mixins), has no reference to the outside world.
Thus a given component will respond to a given event in the same way, regardless of environment.
This makes testing both simple and reliable — events are essentially the only variable and a production event is easy to replicate in testing.
You can even debug a component by triggering events in the console.
A mixin defines a set of functionality that is useful to more than one object.
Flight comes with built-in support for functional mixins, including protection against unintentional overrides and duplicate mixins.
Moreover mixins requires a fraction of the boilerplate required to form traditional classical hierarchies out of constructor-prototypes hybrids, and don't suffer the leaky abstractions of the latter ('super', 'static', 'const' etc.)
* IE 7+
Image / Source:
Example App in the Form of an Email Client:
Demo / Example App:
Source / Example App:
GitHub / Download:
License(s) / Copyright:
The MIT License (MIT)
Creative Commons Attribution 3.0 Unported (CC BY 3.0)
Copyright 2013 Twitter, Inc and other contributors.
Like the rise of the anti-hero in pop-culture, (think of The Rock, Stone Cold, The Dark Knight, Hell Boy, The Punisher, or a cursing, abrasive, self-focused rough-neck pulled into performing virtuous acts, with these characters replacing both the traditional view of & the equally rigid structure, role, and qualities found during the the golden age of heroes & villains as the central character held in regard by society and their stories, and oral traditions.
The antiheroes embody qualities of both hero and villain, bringing a new emotional investment with the characters which traditional hero/villain characters would never be able to achieve under their rigid codes.
The Anti-hero embodies the Gray choices real individuals and societies struggle with, being naturally bound in the human condition, in contrast to the clear cut, black & white choices & decisions, guided by the clearly defined rigid moral boundaries of what is Right & just, or Wrong & immoral, in the actions and motive's behind the traditional hero/villain characters.
While we still hold traditional hero and villain characters in high regard, it is the anti-hero who is influencing today's social and cultural acceptance to our changing values and norms of what constitutes what is acceptable, tolerable, Right, Wrong or Indifferent. From the commonality and acceptance of cursing, to making life & death moral decisions when faced at a life changing cross road. For the antiheroes, everything does not resolve perfect and consequence free. They will experience some form of loss or hardships, which define their character, resulting in their sometimes questionable choices when faced with future experiences.
While we know and accept "the doctor always lies", being a refined, yet eccentric form of an antihero character in his own right, could Capaldi bring The Doctor a deeper, more real, and relatable edginess, so often related to the more modern antiheroes, invoking these qualities through a stronger direction than previous doctors have? Or will he break his public, edgy stereotype, bringing us something totally unexpected, and out of left field during in his portrayal of The Doctor, showing his dedication to his craft, to his character roles, and to the beloved institution who's Coat of Arms is that beloved Little Blue Box (that's bigger on the inside)
Only time and patience will provide the answers, my friends.....but I'm sure Capaldi will do The Doctor justice, drawing in the viewers who are in shock, grieving from the recent loss of "their Doctor", but whatever direction Capaldi invokes during his portrayal of The Doctor, I'm sure it will be in his own truly unique way, just as every Doctor before him has done. Following the story, but owning the character, making his version truly one of a kind.
- Harford Community CollegeSociology, 2012 - present
- Daytona Beach Community College
Microsoft Abandons Windows 8.1: Take Immediate Action Or Be Cut Off Like...
see photosAP Photo/Richard DrewClick for full photo gallery: Microsoft's Biggest Hits And Flops Microsoft has been on a roll lately. Office
Android apps to keep you in sync with your Roku TV
I love my Roku box. Aside from local news, I think I use it for everything I watch. There are a couple of apps I use frequently that come in
Air Bass Active Bluetooth Speakers Satechi | The Verge
The AirBass speakers from Satechi offer a wireless range of up to 32 feet via bluetooth v2.1 or an auxiliary mode by cable to stream audio f