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

Isomorphism in web apps

jeromegn
January 27, 2014

Isomorphism in web apps

jeromegn

January 27, 2014
Tweet

More Decks by jeromegn

Other Decks in Technology

Transcript

  1. Client SERVER FULL HTML Attach views & Initialize app Codebase

    First load SERVER Client N+1 load DATA SERVER Client Render & bind templates
  2. Under the hood (using AirBnb’s rendr library) First Request GET

    SERVER DATA source DATA Create model Cache data RENDER VIEW CLient attach backbone.view initialize application SECOND Request GET SERVER DATA source DATA HTML DATA Cache data CLient Create backbone.view
  3. Pros • No CORS (++consistent support) • Blazing fast first

    load • Almost entirely reusable codebase (less code)
  4. Cons • New paradigms can be hard to grasp •

    New technology can be buggy • Data source (API) and server network proximity