You are currently browsing the tag archive for the ‘UML’ tag.
When requirements analysts are thorough, those who read and use the requirements can easily get lost in the muck and mire of the details. I have found that diagrams can add much more specificity to requirements than lengthy narratives describing business rules. This diagram depicts a small excerpt from a requirements model of a financial system.
This tiny drawing eliminates the need to write out all of the following business rules, because they are all clearly shown in the model:
- Every account must be associated to one customer.
- An account cannot be associated to more than one customer.
- An account cannot exist if it does not have a corresponding customer.
- A customer must have at least one account.
- A customer may have more than one account.
- An account must be either an individual account or a corporate account.
Some restrict the use of drawings like this for design, others argue that domain models are old school. I have had great success using this approach for describing business rules. The economy of words eliminates ambiguity, is much more thorough, and can be easier for a designer/developer to use when designing a solution.
I like modeling. Not the kind Tyra does, although I do like it when Tyra does it, it’s just not something that I do, not that I’d be any good at it anyway…
Sorry, got off track. Anyway, I like to build models that express information in an organized and precise way. The notation I use doesn’t really matter much, as long as it’s easily understood by the reader. I have used a lot of notations in my career. I still have that green plastic IBM flow chart template that my Dad gave me years ago (I wonder what that would fetch on eBay?); I suffered through the CASE tool years (thanks James Martin); and I used notation from OMT, Booch, and OOSE before becoming an early adopter of UML starting with version 0.9 in 1996. UML has stuck with me through the years, and it has become a casual and efficient way to take notes and express things.
Earlier this week I was talking with a coworker about models and modeling, and I proposed an idea: What would a children’s story look like if expressed in UML? I took this to task that night and produced The Three Little Pigs, in UML. Check it out and let me know what you think. The PDF document can be downloaded here. (It’s set up to print it double sided on legal sized paper.)