Software Design Lecture : 14.

Slides:



Advertisements
Similar presentations
Unified Modeling Language
Advertisements

Object-Oriented Analysis and Design
UML – Class Diagrams.
Developed by Reneta Barneva, SUNY Fredonia Component Level Design.
Introduction To System Analysis and design
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Introduction to UML By: Prof. Aiman Hanna Department of Computer Science, Concordia University, Montreal, Canada.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Unified Modeling Language, Version 2.0
1 SYS366 Lecture Visual Modeling and Business Use Case Diagrams.
Lecture 3: Visual Modeling & UML 1. 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship via “ Modeling.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
1 COMP 350: Object Oriented Analysis and Design Lecture 1Introduction References: Craig Larman Chapter 1.
Copyright © 2013 Curt Hill UML Unified Modeling Language.
Introduction To OOP 1.0 Fundamentals Of Java Programming Language 2.0 Exception Handling 3.0 Classes, Inheritance And Polymorphism © 2011 | PN AZRINA.
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Designing Classes Prelude © 2015 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. Data Structures and Abstractions with Java, 4e Frank.
1/26 On-demand Learning Series Software Engineering of Web Application - Object-Oriented Development & UML Hunan University, Software School.
Unified Modelling Language (UML) Software Engineering Lab. Sharif University of Technology.
CONTENT 1.Software Process 2.Object Technology 3.UML 4.UML For Java.
Source Mastering UML with Rational Rose 2002 Information System Engineering Introduction to UML.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
1 Unified Modeling Language, Version 2.0 Chapter 2.
CHAPTER 3 MODELING COMPONENT-LEVEL DESIGN.
Source Mastering UML with Rational Rose 2002 Information System Engineering Introduction to UML.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
Technical Module C Object Modeling Objects Object – a valuable resource: Money (Account Receivable) Material (Product) Machines (Delivery Truck) Personnel.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
1 SYS366 Week 2 - Lecture 2 Visual Modeling & UML.
Basic Characteristics of Object-Oriented Systems
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
UML. Model An abstract representation of a system. Types of model 1.Use case model 2.Domain model 3.Analysis object model 4.Implementation model 5.Test.
1 Design Object Oriented Solutions Object Oriented Analysis & Design Lecturer: Mr. Mohammed Elhajj
Introduction to OOAD and UML
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Elaboration: Iteration 2. Elaboration: Iteration 2 Basics Iteration 1 ends with : All the software has been tested: The idea in the UP is to do early,
Appendix 3 Object-Oriented Analysis and Design
UML(Unified Modeling Language)
The Movement To Objects
Object-Oriented Analysis and Design
Systems Analysis and Design With UML 2
Unified Modeling Language
Mastering UML with Rational Rose 2002
Introduction to Unified Modeling Language (UML)
Systems Analysis and Design With UML 2
Software Engineering: A Practitioner’s Approach, 6/e Chapter 11 Component-Level Design copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc.
University of Central Florida COP 3330 Object Oriented Programming
Software Architecture & Design Pattern
Inheritance B.Ramamurthy 11/7/2018 B.Ramamurthy.
ניתוח מערכות מידע א' הרצאה 3
Object Oriented Analysis and Design
אפיון ועיצוב מערכות מוכוון עצמים
lecture 08, OO Design Principle
Unified Modeling Language
University of Houston-Clear Lake
Object Oriented Design Patterns - Structural Patterns
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
IMPORTANT NOTICE TO STUDENTS:
UML profiles.
Software Design Lecture : 12.
Software Design Lecture : 11.
Software Design Lecture : 15.
Appendix A Object-Oriented Analysis and Design
Uml diagrams In ooad.
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
UML Design for an Automated Registration System
Chapter 10 – Component-Level Design
Presentation transcript:

Software Design Lecture : 14

Open / Close Principle Bertrand Meyer: “Software entities like classes, modules and functions should be open for extension but closed for modifications”

The “Open/Closed principle” – Usage in an object oriented paradigm The Open/Closed principle can be applied in be applied in object oriented paradigms with the help of inheritance and polymorphism: The interface of the module becomes an abstract class A If needed new Subclasses of A can be derived; these subclasses may extend A

Example We have to implement the banking system such that there will be an interface for the customer and the bank will be handling different type of accounts in it like savings, current etc; each type of account is having it’s own business logic to implement and policy. Bank foresee the emergence of new type of accounts, we have to design the system which should take into consideration the current requirements and should be able to adopt to future changes. We have to design it using Open / Close Principle Provide Java coding for it, design client interface for opening new account

Unified Modelling Language (UML) Unified Modeling Language (UML) is a standardized general-purpose modeling language in the field of software engineering. The standard is managed, and was created by, the Object Management Group. The Unified Modeling Language (UML) is used to specify, visualize, modify, construct and document the artifacts of an object-oriented software-intensive system under development

UML Continue UML offers a standard way to visualize a system's architectural blueprints, including elements such as: activities actors business processes database schemas (logical) components programming language statements reusable software components.

Categories of UML Diagrams (3) Static Use case diagram Class diagram Dynamic Object diagram State diagram Activity diagram Sequence diagram Collaboration diagram

Implementation Component diagram Deployment diagram