I'm working on kind a big buisness project which i'm developing in Sencha Touch. Now I'm porting project from ST1.0.0. to ST PR2 and I have couple of thoughts..
I want to have a more than one class controllers. For example, I want to have a controller to each view. I tried to write it and ok - i cut my code into pieces and packed it into controllers. I declared that classes in my app.js file and everything works fine... except a fact that it starts to work impossible SLOW. I need to wait 5-10 seconds to render a one view. I don't know where the problem is or it's mayby a bad programming scenario to cut code into multiple controllers? Having everything in one file (e.g. controller/main.js), which have a over 10000 lines of code is not a good option to work with.
Could someone tell me what am I doing wrong? Is it a bug or smth that it is working so slow now? Or mayby it is normal that a initialization of every controller make my application to 'think'?
Thanks for the answers.