Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emberjs data store example

I'm new to emberjs as well as JavaScript MVC frameworks.

I'm looking through the documentation in https://github.com/emberjs/data but I can't seem to get mine to work properly. Is there an example of a data store setup getting and posting to a RESTapi?

like image 260
Tyler Graf Avatar asked Mar 25 '26 10:03

Tyler Graf


1 Answers

there is a tutorial linked in the emberjs wiki that uses another library for RESTful communication with Rails: https://github.com/emberjs/ember.js/wiki/Links

I have used the old sproutcore-datastore ( back in the Sproutcore 2 days... ;-) ) along a very nice post from Peter Wagenet on the Sproutcore blog: http://blog.sproutcore.com/sproutcore-2-and-ajax/ - it again is not ember-data, but concepts should be similar and the sproutcore-datastore still exists as an addon: https://github.com/emberjs-addons/sproutcore-datastore

It is not exactly what you are looking for, but hope it may help.

like image 187
dhenze Avatar answered Mar 28 '26 01:03

dhenze



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!