G the gui would receive a request to get a date and

Info icon This preview shows pages 12–14. Sign up to view the full content.

View Full Document Right Arrow Icon
E.g. the GUI would receive a request to get a date, and pass it to  an instance of the GetDate controller/interface for the  DomainLogic subsystem which would then coordinate creation of  objects in the DomainLogic, and calls to these objects and the  DataBase, as needed to fulfil the request/responsibility 01/08/11
Image of page 12

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright W. Howden 13 Role Controller “Role” is an actor using the system E.g. DS – 2 role controllers Member Controller, Administrator Controller What would this look like in the DS? the GUI would receive a request, and then send it to a  role interface/controller for the DomainLogic subsystem e.g. admin request to delete a member would be  passed from the GUI to an instance of the  AdminController interface which would then coordinate  creation of objects in the DomainLogic, and calls to  these objects and the DataBase, as needed to fullfill the  request/responsibility 01/08/11
Image of page 13
Copyright W. Howden 14 Which Controller to Use? System/Subsystem  Controllers corresponds nicely to system  architecture/design If it becomes bloated and poorly cohesive,  decompose into individual use case controllers in DS example, subsystem interfaces are  good choices Role Controller Disadvantages? What if two actors/roles can make the same  requests?  May lead to design awkwardness. 01/08/11
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern