Hi to all,
I would really appreciate if somebody with experience comment on my questions.
I am currently experimenting with ext designer in attempt to write a big application using it.
We know that the designer produces two files for each component, the ui.js one that is subclassing the base ext component and the .js one that is subclassing the ui.js one. I understand that this double subclassing is needed so custom methods, listeners, handlers and etc can be written in the .js one and thus preserving them when future changes to the design are needed. However can you please tell me is this affecting somehow the productivity of the systems in terms of speed and memory usage ?
Secondly I would like to ask is there a point in subclassing(extending) the base component in a first place when it is not going to be used more than once in the application? and also does it have any impact of the productivity of the application.
And lastly a question than is not related directly to designer but is a combination of the both questions above.
Can somebody please explain in a plain text, which approach is considered a best practice in writing big applications with ext. Subclassing(extending) base components even if they are not going be reused and doesnt have any extra functionality in them(as what ext designer is doing) or simply use the base classes with json config objects.
Any comments are greatly appreciated.
AA