Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could someone point me to an ember.js project that uses the latest routing system? Bonus points if it uses ember-data as well

I'm making my first project with ember.js, and so far haven't been able to find any example projects that use the new routing system. All the examples from the ember docs use the old routing.

Also, I'd love to see an example of a project that uses Ember Data if anyone knows of one.

Thanks!

like image 245
Chris Avatar asked Jan 24 '13 18:01

Chris


People also ask

How does Ember JS work?

Ember uses templates to organize the layout of HTML in an application. Ember templates use the syntax of Handlebars templates. Anything that is valid Handlebars syntax is valid Ember syntax. Here, {{name}} is a property provided by the template's context.

What is an ember model?

In Ember Data, models are objects that represent the underlying data that your application presents to the user. Note that Ember Data models are a different concept than the model method on Routes, although they share the same name.

What is store in Ember JS?

The store contains all of the data for records loaded from the server. It is also responsible for creating instances of Model that wrap the individual data for a record, so that they can be bound to in your Handlebars templates.


2 Answers

You can find an example project using ember 1.0.0 pre.4 here: https://github.com/trek/ember-todos-with-build-tools-tests-and-other-modern-conveniences

There are plans to provide an ember-data version as well. Check here for details: https://github.com/trek/ember-todos-with-build-tools-tests-and-other-modern-conveniences/pull/9

Another great example can be found here: https://github.com/dgeb/ember_data_example

like image 74
Mike Grassotti Avatar answered Oct 01 '22 03:10

Mike Grassotti


Although not free Peepcode just released their "Fire Up Ember.js" which covers the most recent updates to Ember and is probably your best bet for a good introduction.

https://peepcode.com/products/emberjs

like image 23
sma Avatar answered Oct 01 '22 04:10

sma