PDA

View Full Version : ext-base.js and ext-core.js the same?



Elemental
22 May 2008, 12:15 AM
Hi all I am new to extJS and have been doing some tutorials.

I see in some of the tutorials the user includes ext-base.js file.

Now with the version that I downloaded I don't have that file however I have the ext-core.js file.

Are these the same or similiar? If not where do I get ext-base.js?

Thanks

Elemental
http://www.elemental.co.za

Animal
22 May 2008, 12:51 AM
Ext is a layered architecture in order that it can be used with the foundation library people choose.

It can sit on top of either YUI or Prototype. it does this through an adapter layer for each library which provides an abstraction of essential services such as DOM manipulation, event handling, animation etc.

Ext uses the services of the adapter layer.

ext-base is a pure Ext implementation of the adapter services which directly implements them with no other library involved.

ext-core is a subset of Ext functionality - you don't need it.

All you need is ext-base.js and ext-all.js (or ext-all-debug.js during the development phase)