addyosmani/todomvc — pull request #198 by stas (2012-06-23 23:35:20+00:00)
Title: Emberjs routing

Hey guys,
I took some time during last days and updated a bit the ember.js + require.js app.

A lot of things changed, where most important is probably the fact that the whole app now works without any calls to the globally exposed namespace, which should simplify and improve tests (which still require my attention) a lot.

I still have some questions (hopefully somebody from Ember.js team will find some time to answer those), like:
* currently the `entriesController` doesn't reflect very well the ember idiom, it would be nice if I could get some hints regarding how it can be improved (probably, just rewrite the whole localStorage model). Also because of this, `connectOutlets` calls might look also unfamiliar, any suggestions are welcome
* all the elements that change dynamically in the app were moved to `ContainerView`s, some of the view templates like `app/templates/stats.html` require scope to be specified, not sure if that's a bug or a feature, looks weird
* should I update the app with each helper instead of `CollectionView`? Whats the best practice?

Tests to be updated soon.
Thanks.