GWT Module Design -
i have app 2 components. customer facing 1 submitting restaurant orders. vendor facing 1 viewing restaurant orders.
should have 2 modules different entry points there no shared code(except domain model objects) between components?
my choice of design(using mvp):
1)single module
2)same login page (user pojo must have type i.e vendor
or customer
).
3)in onmoduleload
based upon type i'l open corresponding vendor or customer presenter
why??
1)code re-usability.
2)reducing maintenance of 2 modules.
well,i waiting see more design options.
Comments
Post a Comment