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

Taming large Rails apps with Mutations

Gavin Joyce
September 02, 2015

Taming large Rails apps with Mutations

A lightning talk that I gave at Full Stack Fest

Gavin Joyce

September 02, 2015
Tweet

More Decks by Gavin Joyce

Other Decks in Programming

Transcript

  1. DB Controller View Ember.js App Model iOS App iOS SDK

    Android App Android SDK Customer Apps
  2. DB Ember.js App Model iOS App iOS SDK Android App

    Android SDK Customer Apps Mobile APIs Ember APIs Public APIs v1 v2 v3
  3. MySQL Ember.js App Model iOS App iOS SDK Android App

    Android SDK Customer Apps Mobile APIs Ember APIs Public APIs v1 v2 v3 DynamoDB Mongo Memcached Redis
  4. MySQL Ember.js App 100+ Models iOS App iOS SDK Android

    App Android SDK Customer Apps Mobile APIs Ember APIs Public APIs v1 v2 v3 DynamoDB Mongo Memcached Redis
  5. Ember.js App 100+ Models iOS App iOS SDK Android App

    Android SDK Customer Apps Mobile APIs Ember APIs Public APIs v1 v2 v3 DB
  6. Ember.js App 100+ Models iOS App iOS SDK Android App

    Android SDK Customer Apps API DB
  7. Models DB Internal API We use mutations to create REST

    like internal interfaces to our core services
  8. Models DB User API Message API Conversation API Mobile APIs

    Ember APIs Public APIs v1 v2 v3 We also use mutations to define our external APIs
  9. Rails App Models DB User API Message API Conversation API

    Ember.js App iOS App iOS SDK Android App Android SDK Customer Apps Mobile APIs Ember APIs Public APIs v1 v2 v3