1 / 10

Object Oriented Design Tools

9/11/2012. Komar Associates. 2. Overview. Object CharacteristicHow to determine initial objects/methodsCRC CardsUse Case DiagramsModule Diagrams. 9/11/2012. Komar Associates. 3. Object Oriented Design Characteristics . Objects have small methods -- no more than eight lines of codeClasses have n

lamont
Download Presentation

Object Oriented Design Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. 9/11/2012 Komar Associates 1 Object Oriented Design Tools Joe Komar This is a relatively young area. Show the books written and current trend toward one tool (Universal Modeling Language)This is a relatively young area. Show the books written and current trend toward one tool (Universal Modeling Language)

    2. 9/11/2012 Komar Associates 2 Overview Object Characteristic How to determine initial objects/methods CRC Cards Use Case Diagrams Module Diagrams

    3. 9/11/2012 Komar Associates 3 Object Oriented Design Characteristics Objects have small methods -- no more than eight lines of code Classes have no more than seven (plus or minus two) methods Applications should have few, if any, IF statements Objects are lazy -- they request information before doing it themselves There is a great deal of interaction among objects There is some form of User Interface (e.g., GUI) These are guidelines and characteristics, but should be followed except in rare situations.These are guidelines and characteristics, but should be followed except in rare situations.

    4. 9/11/2012 Komar Associates 4 Determining Objects and Methods Collect “scenarios” -- descriptions of situations to be handled and how to handle them Nouns become candidates for objects Verbs become candidates for methods Relationships among objects become clearer

    5. 9/11/2012 Komar Associates 5 A Class Responsibilities Collaborators (CRC) Card

More Related