1 / 27
文档名称:

《ExtJS_4_官方指南:MVC架构_简体中文版.》.docx.docx

格式:docx   页数:27页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

《ExtJS_4_官方指南:MVC架构_简体中文版.》.docx.docx

上传人:qucheng26364 2016/7/1 文件大小:0 KB

下载得到文件列表

《ExtJS_4_官方指南:MVC架构_简体中文版.》.docx.docx

相关文档

文档介绍

文档介绍:ExtJS 4 官方指南: MVC 架构富客户端应用程序一直很难编写,维护整理也很难进行。随着功能的增加和开发者的增多, 程序很快变得难以控制。 Ext JS 4 拥有一套新的应用结构,能够帮助你有效组织程序,并减少编写代码数量。 Large client side applications have always been hard to write, hard anize and hard to maintain. They tend to quickly grow out of control as you add more functionality and developers toa project. Ext JS es with a new application architecture that not anizes your code but reduces the amount you have to write. 我们的应用结构首次引用了 MVC 模式。现在市面上存在许多 MVC 构架,彼此或多或少都有一些差别。现在介绍我们是如何定义 MVC 的: Our application architecture follows an MVC-like pattern with Models and Controllers being introduced for the first time. There are many MVC architectures, most of which are slightly different from one another. Here's how we define ours: 模型(Model) 是一个包含了一些字段和字段下数据的集合(例如用户模型包含了用户名和密码字段)。模型了解怎样处理数据包, 能和其他模型建立连接。模型的工作模式和 Ext JS 3 下的 Record 类很相似,通常配合 Stores 向网格(grid) 和其他组件提供数据。视图(View) 任何组件都属于视图——网格、树和面板都属于视图的范畴。控制器(Controllers) 控制器是放置所有保持应用正常运行的代码的地方——渲染视图、初始化模型或者其他的逻辑成分。? Model isa collection of fields and their data (. a User model with username and password fields). Models know how to persist themselves through the data package, and can be linked to other models through associations. Models work a lot like the Ext JS 3 Record class, and are normally used with Stores to present data into grids and ponents ? View is any type ponent - grids, trees and panels are all views. ? Controllers are special places to put all of the code that makes your app work - whether that's rendering views, instantiating Models, or any other app logic. 在本教程中我们会创建一个简单的用户数据管理系统。教程结束后你会学习到怎样使用新的 Ext JS 4 应用构架创建应用程序。 In this guide we'll be creating a very simple application that manages User data. By the end you will know how to put simple applications together using the new Ext JS 4 application architecture. 应用程序架构作为实际的类和框架代码, 应提供结构和一致性。按照约定编写代码有以下几点好处: The application architecture is as much about providing structure and consistency as it is about actual classes and framework code. Following the conventio

最近更新

热反射屋面隔热和节能效果对比测试研究 3页

烟草PXG和HPL基因的克隆和功能研究 3页

灰色关联度在粮食生产结构分析中的应用 3页

2025年三年级语文下册下学期 课时练第26课《方.. 4页

华侨大学厦门会议 28页

满足连续管带压提下要求的悬挂密封器弹性密封.. 3页

湖南省经营性高速公路营销初探 3页

公共政策的调整和终结政策变动概述 28页

渗透剂SP-2的性能与应用 3页

骨质疏松的药物治疗进展 41页

深圳先进院研发出基于MoS 2C纳米复合材料的钠.. 3页

中西医治疗乳腺病 21页

2025年【课程思政优秀案例】《网络营销》课程.. 6页

2025年【精选】北京人大附中初二下册期中考试.. 7页

海上锚碇锚体混凝土冬季施工关键技术 3页

2025年【期末复习】九年级上册道德与法治20道.. 2页

2025年【新版+知识梳理及精典考题】六年级科学.. 6页

测震台网数据传输补数技术 3页

浇注式沥青混合料接缝处置研究 3页

2025年【从基层视角看村级防疫员在我国动物疫.. 9页

2025年牡丹江大学单招职业技能测试题库有完整.. 61页

2025年海南省海口市高考模拟(二)物理高频考点.. 5页

违纪违法典型案例对照剖析材料 5页

汉字与中国文化复习笔记 44页

水彩画技法与赏析演示文稿 219页

林业代码表(共7页) 7页

古瑞瓦特逆变器说明书 2页

婺源徽派建筑 4页

回族的相关介绍-课件(PPT精) 45页

最大的银行——探索生命黑箱.doc 24页