Agile Modeling In Color (Agile China 2009)

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

2 comments

Comments 1 - 2 of 2 previous next Post a comment

  • + vernons Vernon Stinebaker 2 months ago
    The presentation is in Apple Keynote format.
  • + nbdragon nbdragon 2 months ago
    When i Get File, but the web site displayed the name of file extension name is KEY,
    after i open the file with Microsoft Powerpoint , it failed !
Post a comment
Embed Video
Edit your comment Cancel

1 Favorite

Agile Modeling In Color (Agile China 2009) - Presentation Transcript

  1. Agile Modeling in Color Agile China 2009 September 2009 Presented by: Vernon Stinebaker ( )
  2. Agenda  Ground rules  Purpose and expected outcomes  About the presenter  Warm-up  OOA/OOD Review  Modeling in Color – Archetypes (meta-pattern) – Domain Neutral Component – Applying the Meta-pattern  Review (quiz) 2
  3. Ground Rules  Mute your cell phone  Participate – ask and answer questions Do Don’t 3
  4. Purpose and expected outcomes Purpose: The challenges of modeling are knowing where to start, what to model, how much to model, and how to model: Agile Modeling in Color with UML addresses these challenges Outcomes: – Understand the key concepts for using the Agile Modeling in Color technique – Be able to apply the key concepts to improve your own agile models
  5. About Me Vernon Stinebaker ( http://www.linkedin.com/in/vernonstinebaker – Director of Technology/Principal Architect – 20+ years software development and process experience • CMMI, SDLC/waterfall, and agile methodologies – Certified ScrumMaster/Certified Scrum Practitioner – 9+ years experience with Feature Driven Development – Founding member of the open source FDD Tools project 5
  6. No “one” Agile 6
  7. No “one” Agile  eXtreme Programming (XP)  Scrum  DSDM  Adaptive Software Development  Crystal  FDD  Perficient’s Enable-M  … But they share the same objectives -- those described in the Agile Manifesto 6
  8. Today’s Focus Agile Modeling in Color (with UML) an agile modeling technique from Feature Driven Development 7
  9. FDD in a slide 8
  10. FDD in a slide  Simple? 8
  11. FDD in a slide  Simple? YES!!! 8
  12. FDD in a slide  Simple? YES!!! 8
  13. FDD in a slide  Simple? YES!!! But not easy  8
  14. Develop an Overall Model 9
  15. Develop an Overall Model  What’s this? Modeling? 9
  16. Develop an Overall Model  What’s this? Modeling?  Yes. Agile modeling! 9
  17. Warm-up Take 5 minutes to create a UML Class diagram for the following high level story: – A customer arrives at a POS (Point of Sale) terminal with items to purchase. The cashier uses the POS terminal to record each item. The terminal presents the line-item details and running total. The customer pays for the items. The system updates inventory. The customer receives a receipt and leaves with the items.
  18. OOA - How to find concepts Conceptual Class Category Category list business transactions Guideline: These are critical (they involve money), so start with transactions. transaction line items Guideline: Transactions often come with related line items, so consider these next. product or service related to a transaction or transaction line item Guideline: Transactions are for something (a product or service). Consider these next. where is the transaction recorded? Guideline: Important. roles of people or organizations related to the transaction; actors in the use case Guideline: We usually need to know about the parties involved in a transaction. place of transaction; place of service noteworthy events, often with a time or place we need to remember physical objects Guideline: This is especially relevant when creating device-control software, or simulations. descriptions of things catalogs Guideline: Descriptions are often in a catalog. containers of things (physical or information) things in a container other collaborating systems records of finance, work, contracts, legal matters financial instruments schedules, manuals, documents that are regularly referred to in order to perform work
  19. OOA - How to find associations Category A is a transaction related to another transaction B A is a line item of a transaction B A is a product or service for a transaction (or line item) B A is a role related to a transaction B A is a physical or logical part of B A is physically or logically contained in/on B A is a description for B A is known/logged/recorded/reported/captured in B A is a member of B A is an organizational subunit of B A uses or manages or owns B A is next to B
  20. OOA/OOD - Concepts and Actions Classical approach to identifying Classes, Attributes and Methods – Extract from natural language; identify nouns/verbs as classes/attributes and methods respectfully A customer arrives at a POS (Point of Sale) terminal with items to purchase. The cashier uses the POS terminal to record each item. The terminal presents the line-item details and running total. The customer pays for the items. The system updates inventory. The customer receives a receipt and leaves with the items. – What is the central concept?
  21. OOA/OOD Concepts and Actions Concepts (Classes) Actions (Methods) – customer – arrives – POS Terminal – purchase – items – record – cashier – presents – POS Terminal – pays – item – updates – terminal – receives – line-item details – leaves – running total – customer – items – system – inventory – customer – receipt – items
  22. One possible solution
  23. Modeling in Color Why modeling in color? – Look at the UML class diagram again – What information is being conveyed? – Is the information conveyed effectively? – What relationships are represented? – Is there any discernible patterns? – How did you know where to start?
  24. Modeling in Color How many, which: – “Two or three colors are usually enough; five is too many. Four-color combinations must be selected with great care: nothing looks worse than too many colors, particularly when they lack common elements.” - Hideaki Chijiiwa [Chijiiwa87] – Four colors -- pink, yellow, pastel blue, and pastel green • Coincidently these same colors are available on post-it notes :-)
  25. Modeling in Color And why: – We can use color to: • Add layers of information to our models (almost like 3D) • Indicate progression of time • Represent key categories of information and interactions within the model • Add visual impact to the model
  26. Archetypes A meta-pattern: – A form from which all things of the same kind [in our case a software system] more or less follow. [Webster75 and Hayakawa68] Represent 4 interconnected archetypes – Moment-Interval (pink) – Role (yellow) – Catalog-like-description (blue) – Party, place, or thing (green)
  27. Moment-Interval Archetype Moment-Interval (pink) – Most important (central) to the model – Represents something that occurs at a moment in time, or over an interval of time (a sale, a rental, a reservation, a service) – In any domain, one can look for Moment-Intervals and begin building a model
  28. Role Archetype Role (yellow) – Second most important to a model – Represents a way of participation by a person, place, or thing – Includes methods which enforce business rules across the collection of roles being played – Party (person and organization) roles are common, but sometimes you also encounter place or thing roles: a product and it’s two roles “product in a sales process” and “product in use”
  29. Catalog-like-description Archetype Catalog-like-description (blue) – Is a collection of values that apply again and again. – For example, (generic) description of products listed in a catalog (but not the actual products/inventory)
  30. Party, Place, or Thing Archetype Party, Place, or Thing (green) – A party (person or organization), place, or thing is someone or something that plays different roles • For example: – a person (party) may be both an employee and a customer (two roles) – A place may be both a retail outlet and a wholesale outlet
  31. What color is that class? Is it a moment or interval of time? It’s pink. Is is a role played? It’s yellow. Is it a catalog-like-description? It’s blue. Otherwise, it’s a party, place, or thing. It’s green.
  32. The Domain Neutral Component
  33. Review Exercise - Applying the Meta-pattern Recreate the UML Class diagram for the story: – Try to consider any ancillary or supporting classes that might be required but not explicitly detailed in the user story. – Apply the color archetypes and domain neutral component.
  34. A possible color model
  35. Review Questions Has your modeling efficiency improved? Do you have a better idea of where to start, what to model, how much to model, and how to model?
  36. References Books – Coad, Peter, Lefebvre, Eric and DeLuca, Jeff, Java Modeling in Color with UML, New Jersey, Prentice Hall PTR, 1999 – [Chijiiwa87] Chijiwa, Hideaki, Color Harmony, Cincinnati, Rockport Publishers, 1987 – [Haykawa68] Hayakawa, S.I., Editor, Use the Right Word. Now published under the title Choose the Right Word. Reader's Digest, Pleasantville, 1968 – [Webster78] Webster's New Twentieth Century Dictionary. Collins World, 1978 Tools – ArgoUML -- http://argouml.tigris.org – NetBeans -- http://www.netbeans.org – Visual Paradigm -- http://www.visual-paradigm.com

+ Vernon StinebakerVernon Stinebaker, 2 months ago

custom

419 views, 1 favs, 0 embeds more stats

Agile Modeling in Color is a technique that applies more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 419
    • 419 on SlideShare
    • 0 from embeds
  • Comments 2
  • Favorites 1
  • Downloads 30
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories