# Ember data: use or not? Any better alternatives?

**URL:** https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851
**Category:** Uncategorized
**Created:** [April 23, 2015, 1:38pm UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851 "2015-04-23T13:38:42Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mistic](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mistic](https://discuss.emberjs.com/u/mistic)
#### Post date: [April 23, 2015, 1:38pm UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851/1 "2015-04-23T13:38:42Z")

</div>

Hello,

This is my first time using emberjs and at the moment i’m using simple ajax requests to fetch my data. Is a good idea use a persistent framework? Should i use ember data or any other?

Regards

---

<div class="post-metadata">

### Author: ![christophermilne](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/christophermilne/32/11709_2.png) [@christophermilne](https://discuss.emberjs.com/u/christophermilne)
#### Post date: [April 23, 2015, 2:09pm UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851/2 "2015-04-23T14:09:23Z")

</div>

If you don’t need to do CRUD then I’d say it’s easier to remove it and use Ember Objects.

---

<div class="post-metadata">

### Author: ![Sarus](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Sarus](https://discuss.emberjs.com/u/Sarus)
#### Post date: [April 24, 2015, 1:20am UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851/3 "2015-04-24T01:20:21Z")

</div>

If you decide not to use Ember Data I highly recommend this post and the associated video to get you started. It’s really simple to work with Ember and not use Ember Data. I found Ember easier to learn when I wasn’t trying to learn Ember Data at the same time.

> **[Ember without Ember Data](https://eviltrout.com/2013/03/23/ember-without-data.html)**
>
> Update May 26, 2014

[![](https://img.youtube.com/vi/7twifrxOTQY/maxresdefault.jpg "Ember without Ember Data") ](https://www.youtube.com/watch?v=7twifrxOTQY)

---

<div class="post-metadata">

### Author: ![mistic](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mistic](https://discuss.emberjs.com/u/mistic)
#### Post date: [April 24, 2015, 2:04am UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851/4 "2015-04-24T02:04:36Z")

</div>

Thank tou for your answer 😄

For learning i Had explored ember without ember data. At the time, im training a small thing with ember data.

My big concern is: what can i loose if i decide to not go with ember data? Is the cache the biggest lost?

If i decide to not go with ember data, what should return my api In this case for example:

Post {id:1, title:“teste”, author:1}

Or

Post {id:1, title:“teste”, author:{id:1, name:“name”}}

Regards and thank u all 😄

---

<div class="post-metadata">

### Author: ![toranb](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/toranb/32/16579_2.png) [@toranb](https://discuss.emberjs.com/u/toranb)
#### Post date: [April 27, 2015, 1:51pm UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851/5 "2015-04-27T13:51:20Z")

</div>

I just wrote about a different (non ember-data) approach that has worked well the last year for my team. At the bottom you still have an identity map w/ dirty tracking but you handle writing each xhr yourself.

[http://toranbillups.com/blog/archive/2015/04/26/alternative-persistence-patterns-with-ember-js/](http://toranbillups.com/blog/archive/2015/04/26/alternative-persistence-patterns-with-ember-js/)

The identity map is dead simple if you just want to use it yourself. [GitHub - toranb/ember-cli-simple-store: ember-cli addon that provides a simple identity map for ember.js web applications](https://github.com/toranb/ember-cli-simple-store)

The approach isn’t a silver bullet but if you are looking for alternatives this is a great example

**edit**

here is a quick ember-cli example showing this store + async + relationships for anyone interested to learn more

[https://github.com/toranb/async-kanban-with-relationships-store-example](https://github.com/toranb/async-kanban-with-relationships-store-example)

---

<div class="post-metadata">

### Author: ![mestr](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/mestr/32/9201_2.png) [@mestr](https://discuss.emberjs.com/u/mestr)
#### Post date: [May 5, 2015, 5:21pm UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851/6 "2015-05-05T17:21:19Z")

</div>

I highly recommend ember with ember data. Yes, it’s much more difficult to start with both, but when you learn how to create reusable components, it will be easier to use ember with ember-data, instead not to…

PS. this apply only if you need CRUD

---

<div class="post-metadata">

### Author: ![adriaaaaan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/adriaaaaan/32/15254_2.png) [@adriaaaaan](https://discuss.emberjs.com/u/adriaaaaan)
#### Post date: [May 6, 2015, 12:00pm UTC](https://discuss.emberjs.com/t/ember-data-use-or-not-any-better-alternatives/7851/7 "2015-05-06T12:00:28Z")

</div>

I don’t use ember-data (its not even v1 yet!) and I can’t say I’m missing anything. We run JavaEE on the backend so we keep data manipulation to a minimum on the frontend. It just seems like an unnecessary abstraction to me. Note the app we use is an enterprise class application (so its huge)
