4 Apr 2011 6:25 AM #1
Ext.Loader minimum package
I was wondering which ext package to use as a minimum, while native components would be dynamically loaded as needed. I used the forum example. Here are my findings:
Doesn't work for core components (e.g. Element.js). Location for Element.js is src/core/src/dom/Element.js, but Loader expects src/core/Element.js
works, but then your client loads a bunch of files after the first component initialization
I guess dynamic loading is best used for widgets built for particular app, not for native Ext JS 4 components. Otherwise, it might be a good idea to use jsbuilder for a custom Ext JS 4 build and load anything further on top of that.
Please report your experiences.
4 Apr 2011 7:06 AM #2
Ýou're right, any core component has to be set in the requires.
Dynamic loading of scripts does not include core files, however they are resolved too. This job is done by Ext.Loader.vg Steffen
Release Manager of TYPO3 4.5
4 Apr 2011 10:05 AM #3
Any chance we can get an overview of what these 'built' versions of the framework actually contain (and when we might use them)?
5 Apr 2011 4:39 AM #4
BTW, I was using Ext JS 4 Beta 1.
As for now, I think I'm going with ext-all.js and dynamic loading of application classes.
@mmartz - I'm sure it's going to be listed in ext.jsb2 once released
5 Apr 2011 11:58 AM #5
By Ghurdyl in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 6 Nov 2010, 4:30 AM
By SamuraiJack1 in forum Community DiscussionReplies: 39Last Post: 20 Aug 2009, 5:13 AM
By SamuraiJack1 in forum Ext 2.x: User Extensions and PluginsReplies: 2Last Post: 5 Aug 2008, 12:55 PM
By Smash_hit in forum Ext.air for Adobe AIRReplies: 2Last Post: 4 May 2008, 4:44 AM
By franzisk in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 7 May 2007, 12:26 PM