1 Jul 2013 3:19 PM #1
Unanswered: Designing a full pledge application with EXT JS
We are making an application were we need to have this requirements.
- Login (API Authentication)
- Logout (Killing the current user session)
- Dashboard (which has lots of application menus )
- Application (like Inventory, Reports , Stats and etc)
I saw the Desktop sandbox example in the EXTJS package when I downloaded it and I think I like to have our application behave like this.
My question are
- how can I separate all of this requirements? Do i need to have a controller for each?
- is there's a way to create an Application/Window class that will be have like an independent program?
I hope you can help me regarding my query
1 Jul 2013 4:22 PM #2
Question #1: No, you don't necessarily need a controller for each. The typical advice is to create controllers based on major sections of functionality of the application. So for example, if you have an Inventory management section, perhaps a single controller would be good to manage things related to Inventory management.
Question #2: What do you mean by "behave like an independent program?"
1 Jul 2013 5:42 PM #3
Thanks for the reply..
Regarding my other question , if you look at this desktop sample
It's like each application were independent from each other.. Please correct if im wrong but we have a large team so I'm thinking of separating modules or features for each individuals. We will just have a default Application/Window container
1 Jul 2013 10:33 PM #4
- Join Date
- Mar 2007
- Melbourne, Australia (aka GMT+10)
- Vote Rating
You could of course just break the different sections into various apps and use different namespaces to run them and also have a namespace for the desktop or core interface.
There are also a couple of implementations of sub-applications around the forums for 4.x