Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A solid tutorial for Sencha Touch V2 [closed]

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
like image 665
Chase Florell Avatar asked Oct 19 '11 03:10

Chase Florell


4 Answers

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

like image 68
Francis Shanahan Avatar answered Sep 29 '22 02:09

Francis Shanahan


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/

like image 22
bchesley Avatar answered Sep 29 '22 04:09

bchesley


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

like image 41
muxcmux Avatar answered Sep 29 '22 03:09

muxcmux


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...
like image 45
Abdel Raoof Olakara Avatar answered Sep 29 '22 03:09

Abdel Raoof Olakara