1 / 14

Object Oriented Concepts

Object Oriented Concepts. Introduction. Agenda. Design, Software design Definitions of OO constructs Class Diagrams, Sequence Diagrams, State Diagrams Some principles of design Case Study Back To OO OO in maintenance projects What it is not! It is not a UML session

adolph
Download Presentation

Object Oriented Concepts

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. Object Oriented Concepts Introduction Unnat-e Infotech

  2. Agenda • Design, Software design • Definitions of OO constructs • Class Diagrams, Sequence Diagrams, State Diagrams • Some principles of design • Case Study • Back To OO • OO in maintenance projects • What it is not! • It is not a UML session • Less syntax specific, more conceptual Unnat-e Infotech

  3. Modeling • a small scale replica of the system • a simplification of reality • Uses • Communication with clients • Visualization of the system • Discussion of strengths and weaknesses of proposed system before implementation • Provides the big picture • Handling complexity by providing different views of thesystem • Documents the tradeoffs that we make Unnat-e Infotech

  4. Abstraction • The selective examination of part of the system • The amplification of the relevant and elimination of the irrelevant • Technique for dealing with complexity • Different applications will abstract different aspects of an object Unnat-e Infotech

  5. Constructs • Classes • Objects • Relationships • Association • Aggregation • Inheritance • Polymorphism Unnat-e Infotech

  6. Use cases • Used in analysis phase • Describes an interaction of one or more users with the system • Simple Use case diagram depicts the interaction in a graphical format • Complex use case diagrams depict actors, system boundary, and use cases of a system. They also depict the relationship between use cases • A use case can use another use case • A use case can extend another use case Unnat-e Infotech

  7. Simple use case – item checkout • Customer sets item on counter • Sales clerk swipes bar code reader on item code • System looks up UPC code • System shows item code and price • System adds price to bill amount • Error code 1 : item code unreadable • Error code 2: item code not found Unnat-e Infotech

  8. Case Study • Problem statement • Must be in users language • Can involve UML diagrams for analysis • Analysis may lead to restatement of problem as issues become more clear • Use Cases • Class diagram • Sequence Diagram • State Diagram Unnat-e Infotech

  9. Back to OO – Some principles • Abstraction • Open closed principle • Single responsibility principle Unnat-e Infotech

  10. Back to OO • Benefits • Abstraction • Encapsulation • Communication • Different views of the same system • Same terminology from requirements to implementation • Loosely coupled systems • Cleaner interfaces between systems • Reuse???????? Unnat-e Infotech

  11. OO in maintenance projects • Agile methods – Extreme Programming • Standup meetings • Pair programming • Client involvement • Small frequent releases • Use Cases • Continuous Refactoring and testing Unnat-e Infotech

  12. Summary • Basic concepts covered using a programming language • Case study • Benefits/drawbacks of OO Unnat-e Infotech

  13. OO Tools • ArgoUML • Poseidon • Together C • Rational Rose Unnat-e Infotech

  14. References • Books • Object oriented Modelling and Design – Rumbaugh • UML User guide – Booch, Rumbaugh, Jacobson • UML distilled – Martin Fowler • URLs • www.martinfowler.com • www.holub.com • www.omg.org, www.uml.org • http://www.intelligentedu.com/newly_researched_free_training/UML.html • www.objectmentor.com Unnat-e Infotech

More Related