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

Ember, Node & CouchDB at Artoo

Ember, Node & CouchDB at Artoo

This is a proposal for JSFoo 2014 (Bangalore, India). Ember provides good structure to build an ambitious web application. We will draw insights from our work that we hope will be useful to you.

sameersegal

June 24, 2014
Tweet

More Decks by sameersegal

Other Decks in Technology

Transcript

  1. Building Ambitious Ember Applications! Kaushik Bhat & Sameer Segal Artoo

    (www.artoo.in) Image Credit: http://boonconic.com/content/images/2014/Feb/C_nim.gif
  2. Ambitious? • 613 Coffee Files • 225 Models • 108

    Routes • 187 Controllers • 147 Templates • 5 Adapters & 2 Serializers Image Credit: http://static.minutewith.com/img/couchdb.png | http://img.scoop.it/60POAMcoOs1QpSs9vvthV4XXXL4j3HpexhjNOf_P3YmryPKwJ94QGRtDb3Sbc6KY http://blogs.encamina.com/returnvalue/wp-content/uploads/sites/7/2014/05/nodejs_logo.png | http://lucene.apache.org/images/lucene_logo_green_300.png
  3. • Doesn’t Ember have Active Generation? • Yes, we have

    tried to do the bare minimum and not fight Ember
  4. 5 Ember App-lets • Split the functionality into 5 Ember

    app-lets that are loaded at runtime to make a Giant Ember Application • Modifications to Ember App Kit • Ember Resolver • Grunt Options
  5. Adapter & Serializers • Extending RESTAdapter • Embedded Payloads, Polymorphic

    types • CouchDB • Lucene • Nodejs • By sticking to Ember conventions, we were able to improve our APIs
  6. Components • Graphs (nvd3 + d3) • Forms (inspired by

    ember-forms) • ... and everything in between