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.

4a3cc45f2c6af14087c2e365341b1b02?s=128

sameersegal

June 24, 2014
Tweet

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. Demo

  5. Amount of time spent by users on the platform

  6. Full Text Search using Lucene

  7. None
  8. Forms through components and ember-validations

  9. Using ACE editor as a component

  10. 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
  11. Adapter & Serializers • Extending RESTAdapter • Embedded Payloads, Polymorphic

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

    ember-forms) • ... and everything in between
  13. Testing • Unit testing with QUnit • Setup `moduleFor` •

    Basic spies to speed up your tests
  14. Q & A