29 Aug 2011 3:46 AM #1
Unanswered: Differnce between Ext.setup and Ext.application
i am new on sencha touch and also new on extjs. so i walked trough the "getting startet" tutorials. it may be that i do not have all essential basics but i can not see a real difference between ext.setup and ext.application. one tutorial start with setup the next one with application. but none of the tutorials explains why...
if there is a essential difference, can anyone explain it?
thanks a lot,
29 Aug 2011 11:42 AM #2
They're very similar, but you should be using Ext.Application - which does things like setting up global namespaces for your MVC-style application, auto-creates a viewport, etc. Just read the API docs on Ext.Application.Arthur Kay
Senior Software Engineer, Sencha Inc.
Twitter | Sencha Chicago User Group
29 Aug 2011 12:07 PM #3
29 Aug 2011 12:34 PM #4
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
It really depends if you want to use MVC or not... Ext.Application is for MVC whereas Ext.setup is more for simpler things... just a quick note.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
30 Aug 2011 11:59 PM #5
14 Jan 2012 9:55 AM #6
How can elements be removed from the application in Ext.Setup and Ext.Application?
It seems unclear from the documentation how an element in an application that is coded via Ext.Setup can be removed, versus the simpler "this.remove()" when using Ext.Application. Can anyone confirm?