JavaScript for Li...
Follow
Find tag "Flight"
288.1K views | +684 today
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...
Scoop.it!

Flight Mixins

Flight Mixins | JavaScript for Line of Business Applications | Scoop.it

We started building Flight.js at Twitter back in 2011 as a component-based framework. Two and a half years later, with the whole of twitter.com now running on Flight, how do we feel about Flight and mixins? Are they working for us?

Rather than using the classical talking animals to describe our components, I’ll try to use real-life twitter components, though I’ll be dramatically simplifying for readability.

 

* Precedence

* Inheritance

* Modularity

* Attributes

* Summary

more...
No comment yet.
Scoop.it!

Twitter Engineering: Introducing Flight: a web application framework

Twitter Engineering: Introducing Flight: a web application framework | JavaScript for Line of Business Applications | Scoop.it

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.

more...
No comment yet.