EmberJS is great framework and very familiar to me with it’s concept.
However all examples and starter kits are for Ruby (Rake, etc).
Did anybody work with Ember and .NET MVC in example?
UPDATE:
Here is how I found to have router w
part with AMD. It is very complicated even for simple example:
define(['ember'], function (Ember) {
return Ember.Router.extend({
root:Ember.Route.extend({
index:Ember.Route.extend({
route:'/'
}),
contributors:Ember.Route.extend({
route:'/contributors',
connectOutlets:function (router) {
var controller = router.get('applicationController');
require(['app/controllers/contributors', 'app/views/contributors'],
function (contributorsController, contributorsView) {
controller.connectOutlet({
viewClass:contributorsView,
controller:contributorsController.create()
});
});
}
})
})
});
});
I am now rethinking if AMD is good solution for Ember. Tom Dale mentioned alternative but didn’t provide example.
I’ve made this example, but it’s still missing a lot of things
https://github.com/MilkyWayJoe/hello-ember-router
Just note that I did this while I was trying to learn but haven’t touched in a while.