Explore the concept of state in web applications through this engaging conference talk from JSConf.au 2014. Delve into state transitions, events, and design patterns while examining the role of state as both a miniature representation and a stage for application behavior. Learn about view state, application state, and addressability, with insights into Backbone.js and its limitations. Discover strategies for breaking encapsulation, managing state and events, and implementing declarative events. Gain valuable knowledge on module layout management, routing techniques, and effective bootstrapping processes. Conclude with a comprehensive summary and a set of practical rules for managing state in modern web development.
Overview
Syllabus
Introduction
State
State transitions
State events
Design patterns
Memes
State as miniature
State as stage
Models
View State
Application State
Addressability
Backbone
Breaking encapsulation
State and events
Routes
Bloated Router
Declarative Events
Module
Layout Manager
Router
Bootstrap
Entry Point
Summary
Ruleset
Taught by
JSConf