Today we’re going to dig a little deeper into the class system to see how it actually works. To briefly recap, the new class system enables us to define classes like this: Ext.define( 'Ext.Window' , { extend: 'Ext.Panel' , requires: 'Ext.Tool' , mixins: { draggable: 'Ext.util.Draggable' }, config: { title: "Window Title" } }); Here we’ve set up a slightly simplified version of the Ext.Window class. We’ve set Window up to be a subclass of Panel, declared that it requires the Ext.Tool class and that it mixes in functionality from the Ext.util.Draggable class. There are a few new things here so we’ll attack them one at a time. The ‘extend’ declaration does what you’d expect – we’re just saying that Window should be a subclass of Panel. The ‘requires’ declaration means that the named classes (just Ext.Tool in this case) have to be p
A foundation you can build.