PDA

View Full Version : [ANSWERED]what the ext core can offer?



erosszz
21 Dec 2009, 6:31 PM
i just started to try ext js but just noticed the ext core..
i wonder the purpose of ext core if the apps may run without it..
then in 3.1.0 version, it is not included anymore...

please guide me on what the ext core can offer? and when to use it..

thanks..

jay@moduscreate.com
23 Dec 2009, 8:16 AM
ext-core is basically DOM manipulation with a couple of tools and effects.

erosszz
23 Dec 2009, 4:36 PM
ext-core.js is already included in ext-all.js?

mystix
24 Dec 2009, 11:51 AM
all functionality from ext-core 3.1 is included in ext-base and ext-all.
like @jgarcia has mentioned, it drives the DOM manipulation functions, among other things, in Ext 3.1.

if you're looking for the standalone ext-core.js file for 3.1.0 you'll need to wait a little while before they update the ext core download page with the latest download -- i would expect this page to be updated the same time the Ext team sends the latest ext-core over to google for inclusion in the google ajax libraries suite: http://www.extjs.com/forum/showthread.php?t=88270

erosszz
27 Dec 2009, 4:35 PM
thanks mystix,

so therefore, ext-core is included to ext-base and ext-all in version 3.1 for now..

I've seen the src folder, and please correct me if I'm wrong...

ext-all -> it contains all js file inside the following folder:
data, dd, state, util, widgets
ext-core -> it contains all js file inside the core folder
ext-base -> it contains its ext-base adapter... (but don't know why when do i need to use this)

maybe you may help me more... the purpose of this thread is to know the dependencies of every js file... because would like to include the particular js file in every pages...

for example:
when I use form, grid, textfields, buttons... what do i need to include?
and similar with the others,,, they have patterns to follow in order to know what js file to include or just do trial and error?

erosszz
27 Dec 2009, 6:46 PM
yes i am not using ext-core... but when I read the overview of ext-core... I wonder why still my sample apps running that uses the capabilities of ext-core without including it...(mystix answered back that it is included)

i strongly agree with you cerad... that need to read getting started tutorials...like README.txt of every apps... and came up with the same include js files below...

1. Forget about ext core if you plan on using any of the Ext UI elements.
2. Include the following files
resources/css/ext-all.css
adapter/ext/ext-base.js
ext-all-debug.js

You should seriously consider reading one of the many "getting started" tutorials out there. And again, forget about the core.

thanks cerad, but if we use only a part of,,, it is not practical to include ext-all because i think it's overkill... best way is to know the dependencies of every js files.. then include only the related ones in every pages... And I think.. these parts are not detailed in the documentation...(please correct me if i'am wrong... ;) )

if i'm wrong with regards to documentations' contents.., please guide me on...

Yoroshiku ;)

cerad
28 Dec 2009, 7:22 AM
thanks cerad, but if we use only a part of,,, it is not practical to include ext-all because i think it's overkill... best way is to know the dependencies of every js files.. then include only the related ones in every pages... And I think.. these parts are not detailed in the documentation...(please correct me if i'am wrong... ;) )

if i'm wrong with regards to documentations' contents.., please guide me on...

Yoroshiku ;)
Including ext-all works well in practice and is the recommended approach. It's not so bad since caching means that the file only needs to come down once.

It is possible to build a custom file containing only components of interest. Check the products page.

erosszz
28 Dec 2009, 4:49 PM
oohh i see... just by using the minified version is enough for the best practice even during the deployment phase....

my inquiries were answered back... and some follow-up questions were answered...
thanks a lot guyss...

but...can't find in the Products page...

It is possible to build a custom file containing only components of interest. Check the products page.

erosszz
6 Jan 2010, 4:41 PM
It is possible to build a custom file containing only components of interest. Check the products page.

still can't find the above page...

hello2008
6 Jan 2010, 6:47 PM
do you mean this page (Build your own Ext JS) ?
http://www.extjs.com/products/extjs/build/
http://www.extjs.com/products/extjs/build/index.php?ver=2.3.0&lib=ext


still can't find the above page...

erosszz
6 Jan 2010, 8:56 PM
it helps a lot...thanks a lot....