Consider this,
MyApp = Ember.Application.create();
MyApp.someName = Ember.Namespace.create({
//my properties
});
I can do the same this using Ember.Object either…
MyApp = Ember.Application.create();
MyApp.someName = Ember.Object.create({
//my properties
});
So, when should I use Namespace ? Where is the difference ?
You can look the Namespace documentation:
And the difference with an object is the
destroymethod, which remove the namespace from the namespaces list, as you can see here: