I'd suggest posting to the newsgroup comp.object. It's a highly
academic make-your-head-spin kinda newsgroup, but tell them you're a
newbie (unless you aren't ;) and they'll speak English.
Thanks,
Jamie
On Thu, 22 Jul 2004 14:58:09 -0500, in cf-talk you wrote:
>In our school, as would many other schools, we have people who are of
>multiple roles. The roles would mainly include: Student, Faculty,
>Employee.
>
>Currently, I have a single CFC that wraps all three user roles in one.
>I don't really care for that method, but I haven't seen a solution, good
>or bad, that lets me break up the different roles into separate objects.
>
>A user may be a(n):
>Employee-only
>Employee and faculty
>Employee and student
>Employee, faculty and student
>Faculty-only
>Faculty and student
>Student-only
>
>A "base class" would be "User", but how do I extend this base class to
>include each possibility of the other roles?
>
>Some differences are:
>A faculty has a method that returns all courses they teach.
>A student has a method that returns all courses in which they are
>enrolled.
>
>Can anyone suggest a OO design principle that may satisfy these needs?
>
>Thanks!
>
>M!chael A. Dawson
>Manager, Programming and Software Development
>Office of Technology Services
>University of Evansville
>1800 Lincoln Avenue
>Evansville, IN 47722
>812-479-2581
>
>If you can read this, you are umop apisdn.
>
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Jamie Jackson
- Re: CFC Design for Multiple Person Roles Joe Rinehart
- Re: CFC Design for Multiple Person Roles Sean Corfield
- Re: CFC Design for Multiple Person Roles Joe Rinehart
- Re: CFC Design for Multiple Person Roles Sean Corfield
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Sean Corfield
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Sean Corfield