Results 1 to 1 of 1
Thread: Need help for controller
- 04-12-2011, 06:07 AM #1Member
- Join Date
- Mar 2011
- Rep Power
Need help for controller
I am using Model View Controller(MVC) approach for developing an application. It has three users(admin, accountant and clerk) and about eight classes(like PolicyDetails,Policy, Claim, Customer etc).
Regarding the controller, I have no idea how to use it. One way is I can create three controllers as AdminController, AccountantController and ClerkController. Otherwise I can create controller for each class like PolicyController, CustomerController.
The problem is:There are users which interact with more than one classes. For example, accountant interacts with almost all classes. And There are some classes which are controlled by more than one users. For example Policy class is controlled by accountant as well as clerk.
I am new to the field of programming and stuck at the point.
Any help will be greatly appreciated. Thanks!
- By gavo87 in forum NetworkingReplies: 0Last Post: 01-12-2011, 06:29 PM