16 Feb 2011 4:04 PM #1
i scanned the examples first and was impressed, good work so far! Very nice additions, great new charts, fantastic drawing etc. Looks very promising.
I was a little surprised by the filesizes of ext-*-debug. Do you think it will shrink or more compressed? Ok, there is no adapter file, but filesize of ext-all is more than double compared to Ext3.
16 Feb 2011 4:20 PM #2
There will be more overall code in the framework in 4 because of stuff that did not exist before (Draw, MVC, etc.) and stuff that's been extensively enhanced (Data, Charts). However, as noted in the overview guide, with the new class features in 4 you'll soon be able to very simply generate a custom ext-all that is tailored specifically to exactly what you need and no more. This was never really possible before and will make a huge difference in the end result build file even with more code to choose from.
16 Feb 2011 4:29 PM #3
thanks for the quick reply.
Sure, i have not all information in my mind yet. When i think about TYPO3 and ExtJs usage, i have no idea whats the best practice will be if you don't know exactly which parts are used. For a customer project this is maybe simple as you have to deal with one application.
I like the separation and i hope that automating the concanating will be possible. Is there a way to register needed parts?
16 Feb 2011 4:32 PM #4
Hey Steffen, make sure you check out the overview linked in my last post -- it discusses this exactly. The beauty of the new class system as that since everything uses Ext.define now (and the other new class-related configs) Ext is now aware of the entire dependency graph at runtime and we'll be able to do all kinds of useful stuff, not least of which is generating custom builds. No more need for manually maintaining JSB files -- the tools will take care of it (and this will include app files also, as long as they use the new class system).
16 Feb 2011 4:38 PM #5
Brian, great! I will read that ASAP. This removes my fear about loading sizes
17 Feb 2011 3:22 AM #6
- Join Date
- Mar 2007
- Haarlem, Netherlands
- Vote Rating
Steffenk, the compressed file will definitely shrink more. Somehow we have shipped the preview release without YUI compressed versions of ext-all and ext-core. The reason it will shrink more then its counterpart in Ext 3.3 is that there is waaaay more documentation. If you would just strip out the docs the filesize should already be pretty similar to 3.3's uncompressed source code.
17 Feb 2011 3:33 AM #7
Yes, after browsing the source file i've seen the lot's of comments
I also read about the bootstrap concept and dynamic loading, and this sounds very promising.
It takes some time until i get a more complete picture of Ext4 architecture, so excuse for some simple beginner-like questions.
19 Feb 2011 11:42 AM #8
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
Also, ext-all-debug now contains all comments so that debuggers can see what the code is supposed to do (assuming the developer commented the code!!!)
Some files are 90% doc comment and only 10% code.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
By valavanurman in forum Ext GWT: DiscussionReplies: 0Last Post: 10 Jun 2009, 10:10 AM
By valavanurman in forum Community DiscussionReplies: 0Last Post: 9 Jun 2009, 1:45 PM
By elishnevsky in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 19 May 2009, 7:55 AM
By Neel in forum Community DiscussionReplies: 0Last Post: 26 Sep 2007, 11:01 AM