Ext Core Overview

Introduction

Ext Core is a lightweight and feature rich core JavaScript library available under an MIT license. Ext Core is packed full of exciting features intended to allow for rapid web development while encouraging well designed and scalable code. This library provides abstractions for DOM manipulation/traversal, Ajax, Events and custom events, animations, templating, OO mechanisms and more. Ext Core is released under an MIT license and is perfect for inclusion in a dynamic webpage or even a small application.

Download

Ext Core can be downloaded here and the latest information can be found on the Ext Core Project Page.

Including Ext Core

Ext Core ships with both a debug version as well as a production version. The production version has been minified (whitespace, carriage returns and comments removed) and obfuscated (all local variables have been renamed to shorter versions) using YUI Compressor. You should always use the -debug version when developing since you'll receive more informative (ie: unobfuscated) error messages.

To include the Ext Core library's development version, simply include the following JavaScript file:

<script src="ext-core-debug.js"></script>

And for the production version (25k compressed and gzipped), simply remove "-debug":

<script src="ext-core.js"></script>

That's it. There is no css file to include with Ext Core.

Simple Example

After you have included Ext Core to your web page, try out the following code to check if everything working correctly

Ext.onReady(function() {
    Ext.DomHelper.append(document.body, {tag: 'p', cls: 'some-class'});
    Ext.select('p.some-class').update('Ext Core successfully injected');
});

About

The Ext Core Manual was authored by Tommy Maintz, Aaron Conran, James Donaghue, Jamie Avins & Evan Trimboli. Thank you to all reviewers who reviewed the manual prior to its release. We are currently looking for translations to all other languages.

The Ext Core Manual is licensed under the GNU FDL, GNU Free Documentation License.

    Copyright (C)  2009  Ext JS, LLC.
    Permission is granted to copy, distribute and/or modify this document
    under the terms of the GNU Free Documentation License, Version 1.3
    or any later version published by the Free Software Foundation;
    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
    A copy of the license is included in the section entitled "GNU
    Free Documentation License".