Getting Started with Twitter Flight
About the Author
About the Reviewers
What is Flight?
Who made Flight?
How does Flight work?
The Advantages of Flight
Efficient complexity management
Flight in the Wild
Flight at Twitter
Quotes from developers
Open source Flight projects
Extending Flight with two-way data binding
Building a Flight Application
Scaffolding a Flight application with Yo
Creating custom applications
Using Flight without a module loader
What is a component?
Creating your first component
Attaching components to existing HTML
Listening for browser events
Finding DOM nodes
Modifying the DOM
What is a data component?
Attaching data components
Naming data events
Creating a data component
Listening for UI events
Triggering data events
Completing the task_data component
Handling data events
The importance of event names
Events are not instructions
Suggested naming conventions
What are mixins?
When to use mixins
How do mixins work?
Creating your first mixin
Initializing the task list from storage
Extending existing methods
Advice priority for components and mixins
Mixing mixins into mixins
Templating and Event Delegation
Generating template objects from DOM nodes
Constructing templates in components
Creating a templating mixin
Using HTML to determine state
Working with dynamic HTML – event delegation
Adding delegated events to task_list
Web Application Performance
Reducing time to page load
Using the DOM to determine state
Using request type to determine response
What does a test look like?
Testing the interface
Obtaining a reference to a component instance
Instantiating standalone mixins
Triggering browser events
Allowing for refactoring
Testing component instantiation
Extending Jasmine for Flight
Complexities of Flight Architecture
The danger of nested components
Creating a flat component structure
Mixins versus components
Flight API Reference