After downloading and opening up the Kiva app, I see the move to the MVC pattern going on in Touch now. I think that is a great move but my question is, is this a viable option NOW that we should move towards if we are starting a new dev project...or is this too bleeding edge in terms of support, framework changes, documentation etc.? For instance, I am looking at the Ext.dispatch to see what the "instance" property is all about, but cannot find anything about Ext.dispatch in the API docs..unless I am missing something.
Again, would like to make this move, but is it here to stay and how long before API docs are updated to accommodate these new features? I know the team is busy though...
I have made the move and it's pretty cool. Not fully integrating models into the picture yet, but it's very clean and it's also very cool to have a client-side and server-side both implementing MVC type patterns. The ability to "dispatch" to central processing controllers and pass parameter objects is worth it alone, but I am sure that I am just scratching the surface. I would recommend it...
It will be great to have a blog/article on best practices while using MVC on client layer. I didn't know of Ext.regController until I looked into Kiva code.
Either a Sencha developer or someone who has used it should do a brief post on implementing MVC based design.
We're working on getting more information up on this but still catching up after the conference earlier this week. Expect more information within the next week on how to use this stuff.
I've been playing around with the MVC platform and it looks very promising.
I am eagerly looking forward to some examples, as I feel like I have only just touched the surface of this cool new feature and I would really like to learn more about it. I have built a Sencha Touch app using my own implementation of the MVC pattern but it's somewhat limited, so I would gladly port to a more sophisticated MVC platform.
I've been play around with Sencha Touch recently, and I made a Contacts Manager demo using MVC pattern.
I hope my demo helps: https://github.com/RobinQu/Phone-Demo
Thanks for posting this. I'm dying for a very simple Sencha Touch MVC example. I'll look at yours and hopefully gain something.
I've got a grasp on using and positioning various panels, like in most of the example apps. But when I opened up the Kiva and Twitter apps, I was utterly lost.
I've been play around with Sencha Touch recently, and I made a Contacts Manager demo using MVC pattern.
I hope my demo helps: https://github.com/RobinQu/Phone-Demo
thx for posting. Am looking at it for the patterns.
One question (so far)... should there be a namespace for "phone"?
I'm used to using Ext.ns() for namespacing my application.