PDA

View Full Version : Sencha Touch MVC



crysfel
24 Nov 2010, 4:45 PM
Hi there!

I'm starting with Sencha Touch, and I'd like to know if there's a basic example of the MVC pattern, how can I use the Ext.Controller, Ext.Model and Views together? I've been looking in some applications (http://www.sencha.com/contest/) but most of them aren't using the MVC pattern.

Can someone explain me how can I use the MVC pattern?

Thanks in advance

Steffen Hiller
24 Nov 2010, 7:17 PM
The kiva and twitter examples are for now the only two working examples that use the new MVC. Also check in docs for Ext.Application and Ext.Controller. Though, the documentation in general is still a bit sparse. I think/hope they gonna release more infos soon.

crysfel
25 Nov 2010, 12:36 AM
Thank you! the Twitter example is a great place to start!

http://dev.sencha.com/deploy/touch/examples/twitter/

Best regards