A solid tutorial for Sencha Touch V2 [closed]

旧时模样 提交于 2019-12-03 18:22:02

问题


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

回答1:


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




回答2:


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/




回答3:


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




回答4:


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:

  1. MVC Application Architecture
  2. Getting Started with Touch
  3. Class System, Components etc..
  4. Examples.. but I don't think there are MVC examples for now...



回答5:


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



来源:https://stackoverflow.com/questions/7816305/a-solid-tutorial-for-sencha-touch-v2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!