Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Ember CLI
Mirage
@samselikoff
The Problem
Possible solutions:
Proxying
Clientside mocks
Serverside mocks
Proxying
Authoritative
No extra setup
PROS
CONS
API must exist/come first
Less control
Harder to set up, CI
Clientside mocks
Control
Portable
PROS
CONS
Duplication/falling out of sync
CORS
Lack of conventions
Serverside mocks
Control
Proxying
Powerful
PROS
CONS
Duplication/falling out of sync
Lack of conventions
Harder to set up, CI
Mirage
Clientside mocks
Conventions
Some ideas for "falling out of sync" problem
Demo
Improvements:
Managing ids
Relationships
Serializers
Websocket
Fake data
Falling out of sync
Interface test
Mirage proxy -> server
Thanks!
ember-cli-mirage.com
@samselikoff
Ember CLI Mirage
By Sam Selikoff
Made with Slides.com
Ember CLI Mirage
2,338
Sam Selikoff
samselikoff.com
samselikoff
More from
Sam Selikoff