Sencha Touch V2 的扎实教程
我找到了一个关于创建 使用 Sencha Touch V1.1 从头开始使用 MVC 应用程序,但不幸的是它并不完全适用于 Sencha Touch V2。我想学习构建 MVC 应用程序的新的/正确的方法,并使用他们最新的框架。
有没有使用 Sencha Touch V2 构建 MVC 应用程序的好教程?
这是我已经看过的地方的列表。
- 官方文档
- 视频已过时
- 示例不显示
源代码
片段,您必须“查看源代码”并尝试浏览库的压缩/缩小版本。 - 文档根本没有描述 MVC(只需尝试在其搜索字段中搜索“mvc”...您会空手而归)
- Google 高级搜索
- 我尝试通过查找上周发布文章的“Sencha Touch”“mvc”来缩小结果范围。
- 当然sencha-touch- 2 就在 StackOverflow 上。
- 看起来在这篇文章中,我是唯一一个使用该标签发帖的人
I found a great tutorial on creating an MVC App from Scratch using Sencha Touch V1.1 but unfortunately it isn't all that applicable to Sencha Touch V2. I want to learn the new/right way to build an MVC app moving forward with their latest framework.
Any good tutorial for building an MVC App using Sencha Touch V2?
Here's a list of places I've already looked.
- Official Docs
- Videos are outdated
- Examples don't show
source
snippets, you have to "View Source" and try to wade through the compressed/minified versions of the library. - Documentation doesn't describe MVC at all (just try searching for "mvc" in their search field... you'll come up empty handed)
- Google Advanced Search
- I tried narrowing down the results by looking for "Sencha Touch" "mvc" where the articles were posted in the last week.
- And of course sencha-touch-2 right here on StackOverflow.
- looks like as of this post, I'm the only person posting with that tag
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我在 github 上有一个使用 MVC 模式的 Touch 2 完整入门项目:
https://github.com/FrancisShanahan /SenchaTouch2MVCHelloworld
您可以在这里阅读我的博客文章:
http://francisshanahan. com/index.php/2011/sencha-touch-2-0-mvc-in-5-minutes-or-less/
希望这可以帮助您入门,
-fs
I have a complete starter-project for Touch 2 using the MVC pattern on github here:
https://github.com/FrancisShanahan/SenchaTouch2MVCHelloworld
You can read my blog post about it here:
http://francisshanahan.com/index.php/2011/sencha-touch-2-0-mvc-in-5-minutes-or-less/
Hope this helps you get started,
-fs
我发现这个链接和网站非常有用 - http://miamicoder.com/category/tutorials /sencha-touch-tutorials/
也针对 V2 进行了更新 - http://miamicoder.com/2012/如何创建-sencha-touch-2-app-part-1/
I found this link and site very useful - http://miamicoder.com/category/tutorials/sencha-touch-tutorials/
Updated for V2 as well - http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-1/
我也在寻找这样的教程,我发现这个示例对于启动我自己的 senchatouch 2.0 应用程序非常有帮助:https://github.com/kawanoshinobu/SenchaTouch2-simple-CRUD-sample
它是Python编写的,作者使用google app引擎运行它,但它是非常不言自明的,您可以如何使用任何其他后端在本地运行副本:)希望这有帮助
I was also looking for such kind of a tutorial and I found this example to be very helpful for kickstarting my own senchatouch 2.0 app: https://github.com/kawanoshinobu/SenchaTouch2-simple-CRUD-sample
It's in python and the author uses google app engine to run it, but it's pretty self-explanatory how you can run a copy locally using any other backend :) Hope this helps
所有 Sencha 产品(Sencha Touch、Ext JS)预计将遵循新的 MVC 架构。你应该从理解它开始。这是我的资源列表:
All Sencha products (Sencha Touch, Ext JS) are expected to follow the new MVC architecture. You should start with understand it. Here is my resource list:
从 http://docs.sencha.com/touch/2- 开始0/#!/guide/getting_started
Sencha Touch 2.0 SDK 下载的 Examples/getting_started 文件夹
Start with http://docs.sencha.com/touch/2-0/#!/guide/getting_started
and examples/getting_started folder of the Sencha Touch 2.0 SDK download