1 / 14

Object-Oriented Analysis & Design with UML and Patterns

Learn about object-oriented analysis and design, applying UML notation and patterns, and assigning responsibilities to objects. Understand the concepts of analysis, design, and synthesis in the context of software development.

samathaa
Download Presentation

Object-Oriented Analysis & Design with UML and Patterns

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. 1. Introduction Object-oriented analysis & design

  2. Objectives • Compare analysis versus design • Define object-oriented analysis & design • Illustrate with a brief example

  3. Applying UML & Patterns in OOA/D An object system design is good when it: • Each object’s function is clear • Object interactions are clear • Functions correctly • Is easy to modify (simple as possible?) • Performs well.

  4. Applying UML & Patterns in OOA/D • UML stands for Unified Modeling Language. • UML is onlya notation used to: • Explore an object design space • Express/communicate a design

  5. Applying UML & Patterns in OOA/D • Assigning responsibilities to objects is fundamental to design. • Such assignments benefit from principles & heuristics. • The principles & heuristics depend on the object domain. • Do the principles of assigning responsibilities to software objects apply to meatware objects? • Should you use these principles to assign responsibilities to team members?

  6. What Is Analysis & Design Analysis A resolution of anything, whether an object of the senses or of the intellect, into its constituent or original elements; an examination of the component parts of a subject, each separately, as the words which compose a sentence, the tones of a tune, or the simple propositions which enter into an argument. Synthesis Composition, or the putting of 2 or more things together, as in compounding medicines.

  7. What Is Analysis & Design Design • To draw preliminary outline or main features of; to sketch for a pattern or model; to delineate; to trace out; to draw. • To create or produce, as a work of art; to form a plan or scheme of; to form in idea; to invent; to project; to lay out in the mind; as, a man designs an essay, a poem, a statue, or a cathedral.

  8. What is Object-Oriented Analysis OOA A resolution of a system into its constituentobjects or concepts. OOD To invent a model delineating the key objects of a system that satisfies a set of requirements.

  9. Book title What is Object-Oriented Analysis A key object or concept has representations • Domain concept • Visualization of concept • Programming language representation • public class book • { • private String title; • public Chapter getChapter(); • }

  10. Book title What is Object-Oriented Analysis Object/concept representations • Domain concept • Visualization of concept • Programming language representation public class book { private String title; public Chapter getChapter(); }

  11. An Example Mandelbrot Set Visualizer Define use cases 1. Visualize Mandelbrot Set: User selects a region to visualize. User sets visualization parameters. System displays selected region accordingly.

  12. MandelbrotSet Visualizer Controller region An Example Define a domain model notifies sets Region, parameters Domain model indicates key concepts, associations, & attributes.

  13. An Example Define Interaction Diagrams :Controller MandelbrotSet Visualizer setRegion() setRegion( Region) notify()

  14. MandelbrotSet region: Region viewer: Viewer Visualizer set: MandelBrotSet setRegion() setIterationLimit() notify() Controller set: MandelBrotSet setRegion() An Example Define Class Diagrams

More Related