Results 1 to 4 of 4

Thread: Good examples of barebones ST2 MVC application

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Los Angeles, CA
    Posts
    3

    Default Good examples of barebones ST2 MVC application

    I've been going through the ST2 tutorials so far and have understood everything pretty well.
    I'm getting ready to build my first playground app on my own and was noticing that MVC differs greatly in ST2 from ST1.

    Is there a guide that somebody could recommend? I am looking for best practices and also a little help getting the app setup.

    Would you consider these to be sufficient?
    http://docs.sencha.com/touch/2-0/#!/...pp.Application
    http://docs.sencha.com/touch/2-0/#!/api/Ext.app.Controller

    I
    have also tried using this out: https://github.com/kostysh/Sencha-To...ith-NestedList

  2. #2
    Sencha User rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,159

    Default

    Unfortunately, right now, none of the guides have been updated to Touch 2.0.

    If you really want to get stuck in before those guides are updated, I suggest you look at both the Twitter example in the Touch SDK, and the Ext JS 4 MVC guide, which is very similar to the ST MVC architecture.

    http://docs.sencha.com/touch/2-0/#!/...ter/index.html
    http://docs.sencha.com/ext-js/4-0/#!...n_architecture
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Los Angeles, CA
    Posts
    3

    Default

    Thanks Robert! I'll give those both a read and see what I can put together!

    Edit: I read through the MVC docs for ExtJS4 like you suggested and things finally started to "click" in my head. I'll give ST2 another try as I'd rather learn the new technology than have to relearn once it is officially released.

  4. #4
    Sencha User
    Join Date
    Oct 2011
    Posts
    14

    Default

    I used this as a MVC example https://github.com/FrancisShanahan/S...2MVCHelloworld, a further reading at http://francisshanahan.com/index.php...nutes-or-less/.

    and this one:http://www.sencha.com/learn/upgradin...cWGog80wlWGeiU.

    I just combined these two examples as a guide to my app.... it works so far.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •