I'm starting a big project on ExtJS 7:
What is the best practice architect approach to organise such project structure?
Should I use one workspace for all apps and component library?
Is it good to divide large applications to the packages?
What is the better approach to packages in my configuration? Should I divide facade to one main application and put 5 applications to the separate packages?
How to organise the component library: where to place the classes? Should I put files to the main facade app or to the separate package)?
Thank you very much.
ask you mentioned there are several ways to archive this, so I will only mention, what i tought when working for Sencha:
This allows you to keep all apps in sync (ExtJS version) and to easily share components and theme.
You can do so by using themer. And you can still use a separate theme per app.
This should include overrides, shared components, shared utils. This will be part of all apps.
Monolyth: You load the app once, depending on the device this may take longer. Still you just load the app once per version (caching).
Load on Demand: Right after the login, you might have a delay for loading. Depending how you setup the app, you only might have to load the app once. What is the best practice architect approach to organise such project structure? All apps besides the login are packages.
Link: https://docs.sencha.com/cmd/7.7.0/guides/dynamic_package_loading.html
If you know before the login, which subapp to launch after the login, you might want have a login package and import it to the apps.
Do not: