跳到主要內容

發表文章

目前顯示的是有「note」標籤的文章

ExtJS MVC

ExtJS MVC Architecture Model is persistent in server side. Store is cache of model thru its proxy. Controller connect View and data in Store. Controller responds users’ operations over View. View presents binded data and input widgets to users. Application Files Root Second Third Forth / Fifth Fifth MyApp / + ext-4 /<extjs_code> + index.html + app.js + app / + + controller /Main.js + + model /Main.js + + store /Main.js + + view / + + + Viewport.js + + + main / + + + + Act1.js + + + + Act2.js + data / + + main.json + + updatemain.json index.html < html > < head > < title > Account Manager </ title > <!-- Load ExtJS style sheet and scripts --> < link rel = " stylesheet " type = " text/css " href = " ext-4/resources/css/ext-all.css " > ...