Can someone explain the difference between using Ext.Application and then the launch property versus using Ext.Setup and the onReady property?
I've seen many tutorials each using different methods to begin the application.
Printable View
Can someone explain the difference between using Ext.Application and then the launch property versus using Ext.Setup and the onReady property?
I've seen many tutorials each using different methods to begin the application.
Are you using Sencha Touch? If so, what version?
Sencha Touch 1.1.1
i have moved your topic here then, ext js 3 did not fit :)
ext.application is meant to be used when creating apps that follow our mvc pattern. you can use ext.onReady or setup as well, imho best for small apps that do not need to be an ext.application.
the event is the same in all 3 usecases (document ready and ext framework ready), so you have the freedom of choice.
I'm totally new to Sencha Touch, coming from application development Java/.NET background. Understanding is not the problem, yet when presentation of information is not clear it makes ramping up on new technology more difficult than necessary.
tobiu thanks for that response, you clarify a little better compared to other post I've seen on this subject.