CocosCreator中使用pureMvc

PureMVC框架的目標很明確,即把程序分爲低耦合的三層:Model、View和Controller。 PureMvc的結構 Model與Proxy Model保存對Proxy對象的引用,Proxy負責操作數據模型,與遠程服務器通信存取數據 View與Mediator View保存對Mediator對象的引用,由Mediator對象來操作具體的視圖組件(ViewComponent, 在ccc中即爲
相關文章
相關標籤/搜索