I'm developing on an application that wasn't built using sencha command. Right now we are using extjs 4.2, but we need to upgrade it to extjs 5 or 6. Preferebly extjs 6. Furthermore, our application does not follow the structure of MVC.
Thanks for any help you can provide
I would recommend to use Cmd, as this will reduce your application's footprint. I would recommend to upgrade to the latest framework version available, since the amount of work required should be the same whether you switch from 4.2 to 5 or from 5 to 6 or directly from 4.2 to 6.2, and one less of these "full upgrades" mean less testing and less overall work.
I cannot answer question 4, because we did already use Cmd with ExtJS 4.2, but the other ones as follows:
To convert your existing app into a Cmd application, you would create a new application with Cmd (going by the same name, located in a different directory) first, and then move over all the old code into the new application directory. Cmd doesn't care whether you follow MVC structure or not, as long as file names and component names match (MyApp.someName.someOtherName.SomeComponent
should be defined in app\someName\someOtherName\SomeComponent.js
).
Please note that upgrade of big applications from 4.2. to 6 takes months, not hours, because there are so many API changes forcing you to change your code and test and change and test. You could fill a book with all loopholes I encountered when I upgraded our application. The upgrade was really a good thing, though - I came across nearly all code from back then when I didn't know shit about ExtJS, and while I was debugging, I made major refactoring and code improvements (including full switch from CSS to SASS).
If you choose not to use Cmd, precompiled stylesheets are in build\classic\theme-<yourtheme>\resources
folders.