extjs4.0的MVC设计模式
http://www.oschina.net/code/snippet_195396_6706
?
app.js02Ext.onReady(function(){03????Ext.QuickTips.init();04????Ext.Loader.setConfig({05????????enabled:true06????});07????Ext.application({08????????name :?'AM',//应用的名字09????????appFolder :?"app",//应用的目录10????????launch:function(){//当前页面加载完成执行的函数11????????????Ext.create('Ext.container.Viewport', {?//简单创建一个试图12????????????????layout:'auto',//自动填充布局13????????????????items: {14????????????????????xtype:?'userlist',15????????????????????title:?'Users',16????????????????????html :?'List of users will go here'17????????????????}18????????????});19????????},20????????controllers:[21????????????'Users'22????????]23????});24})
01Ext.onReady(function(){02????Ext.QuickTips.init();03????Ext.Loader.setConfig({04????????enabled:true05????});06????Ext.application({07????????name :?'AM',//????????08????????appFolder :?"app",//??????09????????launch:function(){//??????????????е????10????????????Ext.create('Ext.container.Viewport', {?//?