I have just started using Chapling with JavaScript as the language for writing code. Question is how namespaces are handled while developing application using ChaplinJs?
Does Chaplinjs framework automatically takes care of the namespaces of the models, views and controllers and create them inside the extended application object OR we have to manage it manually?
e.g.
In my old project we used to have
(function(global) {
who = global.mycompany || {};
who.ui = {};
who.app = who.app || {};
who.models = {};
who.templates = {};
})(typeof(window) === undefined ? this : window);
In our new Chaplin based project, we have just defined
var MyApplication = Chaplin.Application.extend({
//all init logic goes here
return MyApplication;
});