Best practice for overriding classes / properties in ExtJS?

For clarification: By real class modification I mean a intended permanent modification/extension of a class, which should always be done by extending a class. But it is not a temporary solution for just a specific problem (bug-fix, etc.). You have at least four options how to override members of (Ext) Classes prototype I guess is … Read more

to initComponent() or not to initComponent()

If you do not have a deep understanding of how ExtJS class system work, you may want to follow this: Declare all non-primitive types in initComponent(). Terminology Primitive types – strings, booleans, integers, etc. Non-Primitives – arrays & objects. Explanation If the component you extend is to be created more than once, any non-primitive configs … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)