Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sencha Touch - looking for a good tutorial / getting started for a content application [closed]

I'm trying to build a mobile "content" application that will be used to display many pages of mostly text, using Sencha Touch (based on ExtJs). I'm familiar with JQuery & JQTouch; I've never used ExtJs before.

What's the best/fastest way to get started?

I started with the "icons" demo and was able to add a scroll property ('vertical') to have content be scrollable between the top and bottom tabs (that's actually what brought me to Sencha Touch: the ability to have "fixed" toolbars).

But now what? How do I update content?

In an ExtJs tutorial (here, near the bottom of the page) it says that one can act on an Element object to load content to an element; but that does not seem to be usable in the same way in the "icons" Sencha Touch demo.

Any help appreciated!

like image 952
Bambax Avatar asked Sep 01 '10 16:09

Bambax


4 Answers

[Sencha person] I would recommend starting with the "Getting Started" guide that helps you write the GeoTweet sample application:

-- obsolete link deleted --

Update: since we released Touch 2.0 - you should start here: http://docs.sencha.com/touch/2-1/ which has links to all the getting started materials

If you're coming from jQuery/jQTouch, you'll find that Sencha does things quite a bit differently. Essentially, with Sencha Touch you're writing an object-oriented javascript application that generates HTML markup (usually bound to variables/stores) vs. with jQTouch - creating HTML markup that then gets manipulated by javascript.

I would also look at some of the better mini-apps that we've seen in the wild so far to guide you.

-- link deleted --

Update: We now have a gallery of apps for you to see what people have been up to.

like image 126
Michael Mullany Avatar answered Nov 11 '22 22:11

Michael Mullany


I myself am currently reading up on Sencha Touch, and found the following tutorials/articles:

  • Hello World: http://www.sencha.com/learn/Tutorial:Sencha_Touch_Hello_World
  • Getting Started: http://dev.sencha.com/deploy/touch/getting-started.html
  • MVC and PhoneGap: http://www.sencha.com/learn/Tutorial:A_Sencha_Touch_MVC_application_with_PhoneGap
  • MVC: http://myxaab.wordpress.com/2011/02/27/sencha-touch-mvc-application-part-2/
  • Data Package: http://www.sencha.com/blog/using-the-data-package-in-sencha-touch

Also, check out the examples packed within the framework and the Forums. Finally check out this example.

update: found this one http://www.andreacammarata.com/en/corsi/sencha-touch/setup.html Also, i read that a Sencha Touch book "in action" will be out by the summer...

like image 39
frohiky Avatar answered Nov 11 '22 20:11

frohiky


This is quite good and easy to follow: Writing a Sencha Touch Application

like image 4
Mike Avatar answered Nov 11 '22 21:11

Mike


I am also a sencha touch learner,I just get the toturial from sencha official website. maybe you can hava a look this link: http://www.sencha.com/learn/my-first-sencha-touch-experience It is from sencha website.

like image 1
ezsaturn Avatar answered Nov 11 '22 21:11

ezsaturn