Search code examples
sencha-touchsencha-touch-2

A solid tutorial for Sencha Touch V2


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 right here on StackOverflow.
    • looks like as of this post, I'm the only person posting with that tag

Solution

  • 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