Skip to main content

Posts

Showing posts from 2015

ExtJS4 FAQ

Extjs 4.2 FAQ: What is Ext? The Ext namespace (global object) encapsulates all classes, singletons, and utility methods provided by Sencha's libraries. Ext is singleton object. Ext.Base – all classes inherit from Ext.Base. It provides basic low-level functionality used by all classes Ext.Class – a factory for making new classes Ext.ClassLoader – responsible for ensuring that classes are available, loading them if they aren’t on the page already Ext.ClassManager – kicks off class creation and manages dependencies Ext.ComponentManger -base class for all Ext components The onReady() function takes  a function as an argument. The onReady() function is called when the document is loaded and DOM is ready. Adds a function to be called when the DOM is ready, and all required classes have been loaded Ext.onReady(function () { }); - Ext.define to signal class definition to complete. Ext.define -> Ext.Class { Pre-Processors: loader - extends - mixins - config - Static...