domain model diagram

This is a discussion on domain model diagram within the Tech Board forums, part of the Community Boards category; Are domain model diagrams always done using UML? For example I searched for an example of a domain model diagram, ...

  1. #1
    Registered User
    Join Date
    Apr 2010
    Location
    Vancouver
    Posts
    127

    domain model diagram

    Are domain model diagrams always done using UML? For example I searched for an example of a domain model diagram, Name:  Domain_model.png
Views: 7940
Size:  27.1 KB how do you know what the open arrows, closed arrows, hollow diamonds, solid diamonds etc. mean? Is it the same as in UML?

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,577
    >> Are domain model diagrams always done using UML?

    No. A domain model is an abstraction of what a system does. "System" can be pretty much anything within the scope of the business problem. From a computer application, to the layman description of business processes. UML is concerned with object oriented modeling. Its notation system is generic enough to be applied elsewhere, but an UML domain model that isn't a class diagram is not a UML domain model. Yet, not all system use or understand classes, or even relate to an object based paradigm. So a domain model can be constructed from any notation and for any type of system as long as the people involved agree with it.

    Here's an example of another type of domain modeling.
    Last edited by Mario F.; 09-24-2011 at 07:33 AM.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User
    Join Date
    Apr 2010
    Location
    Vancouver
    Posts
    127
    Ok, shouldn't any diagram have a legend or something? For example in the image I posted it doesn't say what the difference between triangular tipped and diamond tipped arrows is?

    A related question, a domain model has a description using words, the domain model diagram is just one part of it?

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,577
    UML diagrams don't require a legend because they are constructed from a formally defined notation. You just need to learn the notation.

    Anyways, the white arrows represent a class hierarchic relationship, the black arrows represent a class composition relationship. So the class Hospital derives from the class Provider, and an Insured class contains one or more Plan objects.

    Code:
    class Provider { /* ... */ }
    
    class Hospital : public Provider { /* ... */ }
    
    class Insured {
        public:
            std::vector<Plan> plans;
        /* ... */
    }
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Network Diagram: What's the easiest way?
    By User Name: in forum C++ Programming
    Replies: 2
    Last Post: 03-22-2011, 12:39 AM
  2. box-and-circle diagram
    By kezkez in forum C Programming
    Replies: 0
    Last Post: 02-12-2010, 10:34 PM
  3. UML: Context diagram
    By society in forum Tech Board
    Replies: 3
    Last Post: 01-05-2006, 12:54 PM
  4. Venn diagram implementation
    By pelp in forum C++ Programming
    Replies: 3
    Last Post: 04-07-2003, 03:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21