sunbiz
28 Jan 2012, 3:21 PM
With Sencha Touch 2 now that we have closer design to ExtJS 4 and the class system, we want to build a large scale application that will be divided into modules. These modules will interact with each other very little on the client-side and hence we are fine with having them into separate pages. Something like below:
/app
/registration
/app
/model
/view
/controller
index.html
/lab
/app
/model
/controller
/view
index.html
/pharmacy
/outpatient
index.html
Is this an appropriate way to structure the application??
The other challenge is that some of these modules are also meant to work on the desktop. I was thinking about using Profiles to do this, but it seems like mobile and tablets are the only available Profiles. The reason we feel that we can use the same code-base is because for the desktop UI we want them to look like touch interfaces with large buttons, sections and large text.
What is the catch to using Sencha Touch in combination with ExtJS 4 in the same shared codebase??
Can we can have the same views using Sench Touch 2 and ExtJS4, depending if its running on the desktop or tablet.
/app
/registration
/app
/model
/view
/controller
index.html
/lab
/app
/model
/controller
/view
index.html
/pharmacy
/outpatient
index.html
Is this an appropriate way to structure the application??
The other challenge is that some of these modules are also meant to work on the desktop. I was thinking about using Profiles to do this, but it seems like mobile and tablets are the only available Profiles. The reason we feel that we can use the same code-base is because for the desktop UI we want them to look like touch interfaces with large buttons, sections and large text.
What is the catch to using Sencha Touch in combination with ExtJS 4 in the same shared codebase??
Can we can have the same views using Sench Touch 2 and ExtJS4, depending if its running on the desktop or tablet.