从零开始学习Sencha Touch MVC应用之十七

探讨HTML5如何逐渐取代Flash成为移动平台上的主要技术,特别是在iOS和Android两大平台之后的位置。文章分析了HTML5的发展趋势及其在不同场景中的应用案例。
现在,让我们在app/data/ 目录下建立news.json 文件,并且从Sencha Touch Press添加一些新闻消息:
[ { "title": "Beyond jQuery: JavaScript Tools For The HTML5 Generation", "date": "November 09, 2011", "content": "One of the stated goals of HTML5, at least for some groups, is to replace the Flash plug-in, the gold standard for making sprites and letters dance across the screen." }, { "title": "What Is the Best Mobile Platform for HTML5 Development?", "date": "November 10, 2011", "content": "The focus of the mobile world has turned to HTML5. Right now, HTML5 is positioning itself to be the No. 3 mobile platform behind Apple's iOS and Google's Android and we will see that evolution take place over the next couple of years." }, { "title": "No Flash? No Problem", "date": "November 18, 2011", "content": "So what does the future hold for Flash? I imagine Flash eventually being used more as a creative tool than a delivery format. As Adobe continues to put more effort into exporting HTML5-ready assets from Flash Pro, it tells me the swf may be slowly dying for desktop, too." }, { "title": "Adobe Flash Sites Rapidly Converted To HTML5 For iOS users", "date": "November 21, 2011", "content": "A developer using Sencha Touch reports that translating large existing websites built with Adobe Flash to HTML5 mobile sites accessible to iOS users can now be performed by 1 or 2 people in just three weeks." } ]
用列表来显示存储器的数据


下面我们将显示我们的新闻Next we’ll display our news.


打开HomeIndexView.js 并且田间新的连接:

html: '<a href="#News/index" class="menu-item">News</a>' + '<a href="#Home/about" class="menu-item">About</a>',

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值