Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Middle-Scale F2E Application

Saito
May 11, 2013

Middle-Scale F2E Application

Ruby Salon in HangZhou

Saito

May 11, 2013
Tweet

More Decks by Saito

Other Decks in Programming

Transcript

  1. problems • Loader • NameSpace • Dependency • Component/widgets (HTML

    & Javascript & CSS) • Unit/Component Test (Fixture) • Build (Strategy) • UX (Speed & LiveReload & ...)
  2. Ways to solve each problem •NameSpace http://addyosmani.com/blog/essential-js-namespacing/ •Single global variables

    •Object literal notation •Nested namespacing •Immediately-invoked Function Expressions (IIFE)s •Namespace injection https://github.com/jashkenas/coffee-script/wiki/FAQ#unsupported-features •CoffeeScript
  3. Framework based on Component • HTML5 Web Component • AuraJS

    • Component • Twitter flight • MontageJS • And more...