- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
[计算机软件及应用]ExtJS_4_0.ppt
* ExtJS 4.0 JavaScript MVC Framework Who ExtJS is provided by Sencha () Sencha Touch GWT CSS Animator IO (Cloud Data Management) What ExtJS is a MVC Framework Model-View-Control Unlike JQuery and other major JS library providers When ExtJS 4.0 was released around April 2011 Why This is really what matters (MVC) Easy Client-side data modeling Relational Models Simple to use GUI widgets Full robustness of EcmaScript control MVC Why is MVC so important? In this case, it is because it is 100%, agent-based, client side code This means typical MVC on the server is not needed Good or Bad? Design decision Server Side MVC ? Server Side Models Server Side Models are simple classes that house an instantiated version of a resource record Resource Records can be a row from a MySql Table, required parameters from another server public api, web service, etc These models should be transparent to the controller on how the raw data is represented, but rather be in a specified format for the controller Server Side Models To facilitate how the model instantiates data, usually a map is present The Map is capable of understanding how to speak with the resource Select `id`, `first`, `last` from `names`...... The model would then have member variables: $model-id $model-first $model-last .... Server Side Models All of my models have key features 1-to-1 resource mapping $model-save() $model-find() $model-delete() Similar to CRUD operations except I leave save() to determine wether it is Create or Update CRUD === Create Read Update Destroy Server Side Views Sever Side View classes, for most frameworks, take the model data and return the requested type of view echo($view-buildTable(records)); This buildTable() function is called by a controller, who then echo()s the html generated by the view Has one major fault What happens when I want to use this server side stack for mobile apps? Are there any performance flaws?? Server Side Control We have seen that how models and views work These require
您可能关注的文档
- [其它]军事理论复习题.doc
- [其它]怎样书写护理专题总结论文 .ppt
- [其它技巧]网络道德 ppt.ppt
- [其它考试]中级物流员 - 装备与技术实务.doc
- [其它课程]维也纳.ppt
- [农业]阳光工程培训教材-《农村沼气工实用技术》章节目录 .doc
- [农学]《设施农业工程预概算》 .doc
- [农学]作物栽培学总论-第7章 .ppt
- [农学]农业概论 .doc
- [农学]土壤学 .ppt
- [计算机软件及应用]Ubuntu Linux 操作系统基础.ppt
- [计算机软件及应用]基于Linux的软件测试技术及测试工具应用.doc
- [计算机软件及应用]第10章 软件工程基础 .ppt
- [计算机软件及应用]第1章 软件工程概述201502a.ppt
- [计算机软件及应用]计算机应用基础wiandows7+office2015_单元1.ppt
- [计算机软件及应用]软件工程.ppt
- [计算机软件设计精品] 基于WEB的网上商城系统的设计与实现.doc
- [设计史] 世界现代设计史知识点简述(一).doc
- [语文]《邓小平爷爷植树》 .ppt
- [课程介绍]CCNP「新版」思科资深网络工程师.doc
文档评论(0)