vitalyx
31 Jul 2012, 2:59 AM
Hello,
We are building a system that will be used by many clients. Each client has a set of services that they want to make available on mobile devices. For example, some clients may offer service1 and service2, others - service2 and service3. Our job is to create components that represent those services and that will be used to create an app that matches the set of services particular client provides.
Presently, we adhere to the standard convention and our app structure looks like this:
app
model
service1
service2
...
view
service1
service2
...
controller
service1
service2
...
store
service1
service2
...
profile
phone
tablet
What I think might be beneficial for our particular project is to have application structured like this:
app
service1
model
view
controller
store
service2
model
view
controller
store
...
model
view
controller
store
profile
phone
tablet
What do you think about that? Is this possible? Are there any potential cons?
Thanks,
Vitaly
We are building a system that will be used by many clients. Each client has a set of services that they want to make available on mobile devices. For example, some clients may offer service1 and service2, others - service2 and service3. Our job is to create components that represent those services and that will be used to create an app that matches the set of services particular client provides.
Presently, we adhere to the standard convention and our app structure looks like this:
app
model
service1
service2
...
view
service1
service2
...
controller
service1
service2
...
store
service1
service2
...
profile
phone
tablet
What I think might be beneficial for our particular project is to have application structured like this:
app
service1
model
view
controller
store
service2
model
view
controller
store
...
model
view
controller
store
profile
phone
tablet
What do you think about that? Is this possible? Are there any potential cons?
Thanks,
Vitaly