Is it possible to create simple CRUD example using Fixture Adapter in Ember.js? -


we've been trying implement simple crud example using fixture adapter few days seems feels walk in park using restadapter, impossible fixture one. , mean relations.

here's live example: http://emberjs.jsbin.com/zobexuhi/3

flow: 1) contact edit / new (not finished)

• emails not saved using 'save' button • cancel reverts changes (rollback) • not persisted data not appear in contacts#index

what we've tried far

• hasmany loses data on save - extended json serializer / used canary built (don't know why recent change broke again)

• above encountered problem - on save duplicate of email created though store had 1 instance - tried return unique data using uniq()

we've been trying fix these problems @ least 3 days , more solution tried, deeper black hole was.

this example (was?) supposed app we'd use example how write ambitious web apps using bdd approach. of may notice based on 'testing ember.js in rails' book.

this not rant. we'd these workshops, using fixture adapter we've failed far.

we're aware many things wrong in example, getting restadapter fixture 1 (not tested) pain in ass us.

any feedback highly appreciated!


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -