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.

please refer


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -