SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast mjlivelyjr's Avatar
    Join Date
    Dec 2003
    Location
    Post Falls, ID, US
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Databases in UML Use Case Diagrams

    Hey, I just wanted to get some respectable opinions one whether or not you all include a DBMS as an actor in you use case diagrams?

    I have never done this before myself but I was just recently going over someone else's UC Diagrams and saw that they did set the database as an actor. I suppose the validity of doing this depends on whether or not you view the database as being in system or out of system. I guess I have always just considered it as "in system" and not worthy of actor status :/.

    Am I out of line? What do you all think?
    Mike Lively
    Digital Sandwich - MMM MMM Good

  2. #2
    SitePoint Zealot
    Join Date
    Sep 2003
    Location
    Melbourne, Victoria, Australia
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We generally do not include databases as an actor. Think about what actually triggers the use case action. Does the database itself cause something to happen or is it a user pressing a button or requesting an action that does it?

    Cheers,
    Af.

  3. #3
    SitePoint Enthusiast mjlivelyjr's Avatar
    Join Date
    Dec 2003
    Location
    Post Falls, ID, US
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I mostly agree with that. But you don't necessarily have to cause something to happen to be considered an actor. All that is required really other than the whole in-system/out-of-system thing, from what I understand of things, is that you have some sort of "role" in the use case.
    Mike Lively
    Digital Sandwich - MMM MMM Good

  4. #4
    ********* Victim lastcraft's Avatar
    Join Date
    Apr 2003
    Location
    London
    Posts
    2,423
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi...

    Quote Originally Posted by mjlivelyjr
    Hey, I just wanted to get some respectable opinions one whether or not you all include a DBMS as an actor in you use case diagrams?
    I've seen it done, and I remember one of the three amigos' books recommended this. It's kind of official. Doesn't make it any less confusing though .

    yours, Marcus
    Marcus Baker
    Testing: SimpleTest, Cgreen, Fakemail
    Other: Phemto dependency injector
    Books: PHP in Action, 97 things


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •