Factory Functions in Ext Extensions (Abstract Classes)
In essence, factory functions are class methods that manufacture items or other properties during the instantiation of the class. This article explains pros and cons of factory function and how to use them correctly.