Why is the alias of views defined as “widget.myxtype”?
问题 I was wondering: Why is the alias of new widgets we define always defined as "widget.myxtype" - what is the significance of the "widget" in that? 回答1: I think it's a kind of namespace : you can also define aliases for proxies, readers and writers, which respectively need to be prefixed with 'proxy.', 'reader.' and 'writer.' : Ext.define('App.proxy.MyProxy', { extend: 'Ext.data.proxy.Rest', alias: ['proxy.my_proxy'], Ext.define('App.reader.MyReader', { extend: 'Ext.data.reader.Json', alias: [