SlideShare une entreprise Scribd logo
1  sur  56
Composed and researched by waseem
UML

 What is UML
 History of UML
 Importance of software model
 Various diagram of UML
 Use of UML Diagram
What is UML
 Unified modeling language (UML) for
    visualizing, specifying, constructing, documenting of
    artifact of a software system
   The blueprint of a system is written in it
   UML is also used for modeling non-software system
   It is standard for building object oriented and
    component based software system
   UML is a notation system though which we can
    visualize a model of a system
   It describe only design or structure of system
History of UML
 In early stages of model driven development there was
  a great need for some universal approach for
  modeling a software system
 As deferent people understand the notation in
  different way if there is no universal model approach
 At that time brooch, rumba, Jacobson gave there
  theories and universally accepted
 All of three decided to build a notation language by
  merging all of three language and out product of that
  was UML (unified modeling language )
History of UML
 In 1997 OMG (Object management group) a non profit
  organization standardized the UML
 Since then they are making improvement in UML
 Released versions of UML
Versions of UML
   2.2 February 2009 http://www.omg.org/spec/UML/2.2
   2.1.2 November 2007 http://www.omg.org/spec/UML/2.1.2
   2.1.1 August 2007   http://www.omg.org/spec/UML/2.1.1
   2.0 July 2005      http://www.omg.org/spec/UML/2.0
   1.5 March 2003     http://www.omg.org/spec/UML/1.5
   1.4.2 July 2004    ISO/IEC 19501
   1.4 September 2001 http://www.omg.org/spec/UML/1.4
   1.3 March 2000     http://www.omg.org/spec/UML/1.3
   1.2 July 1998
   1.1 November 1997
UML 1.1
 Use case diagrams (fulfill purposed functionality)
 Class diagrams (depict static view and relationship)
 Object diagrams (depict view of instance of class )
 Sequence diagrams (depict messages over time line)
 Collaboration diagrams (like sequence diagram but define
    object roles)
   State chart diagrams (depicts states of the object)
   Activity diagrams (dynamic view like flow chart )
   Component diagrams (depict components )
   Deployment diagrams (depict physical layout of system )
New in UML2.0
 Changes in activity diagram
 The first noticeable change is that the nodes in activity
  diagrams are no longer called activities. They are
  called actions
 These constraints are shown as notes attached to the
  action with the appropriate stereotype symbol
 In UML 2.0, an action will not fire until each of the
  incoming flows triggers
 new to UML 2.0, is the time signal. A time signal is
  received because a certain amount of time has passed
New in UML 2.0
 The final addition to the basic activity diagram is the
  connector.
 The connector indicates that a flow moves from one
  activity diagram to another.
 UML 2.0 contains three new ways to group and
  decompose actions
 UML 2.0 introduces activity partitions to handle
  problems
New to UML 2.0
 Changes in Class diagram
 Visibility is a single character representing whether the
    attribute is visible to the
    public (+),
    private (-),
    protected (#),
   or package (~).
   The slash (/)
   Indicates whether the attribute is derived
Use Case diagram
 Changes in use case diagram
 The exact extension point that is used between the two
 use cases
Importance of Software Model
 If software is complex need of model
 If a system is developed by the hundreds of People
    there is also need of model for smooth communication
    and understanding the software system
   mange complexity in design
   build and design architecture
   Visualize the implementation
   Design secure , scalable, robust and extendable system
UML 2.0 Diagrams
 UML is divided in to two General set of Diagrams
 Structured modeling diagrams
  It depicts the static view of the model
 Behavioral modeling diagram
  Behavior diagrams depicts the varieties of interaction
  within a model as it 'executes' over time
Structural Modeling Diagram
 Class Diagram
 Object Diagram
 Component Diagram
 Package Diagram
 Composite Structure
 Deployment Diagram
Behavioral Modeling Diagram
 Use Case Diagram
 Activity Diagram
 State Machine Diagram
 Communication Diagram
 Sequence Diagram
 Timing Diagram
 Interaction Over view Diagram
Class diagram
 It depicts the static view of a model
 It is the basic building block of the object oriented system
 It illustrate the relation ship between classes in the system
 Class diagram consist of:
 Class diagram
It consist of rectangle with three compartments


                       Class name is added in this this compartment (teacher)

                       Class attribute is added in this department (name )

                       Class methods are placed in this compartments (teach)
Class diagram
 + sign with attributes or methods shows class member are
  public
 - sign with attribute or methods shows class members are
  private




                       Class name is added in this this compartment (teacher)

                       Class attribute is added in this department (-name)

                       Class methods are placed in this compartments (+teach)
Class diagram
 Class diagram show relationship between class
 Generalizations
  A generalization is used to indicate inheritance.
 Aggregations
  Aggregations are used to depict elements which are
  made up of smaller components
  Example composite-Aggregation
  Address book and contact group and contacts
Class diagram
Association Relationship
Composition
Generalization
Object diagram
 An object diagram may be considered a special case of
    a class diagram
   Object diagrams emphasize the relationship between
    instances of classes at some point in time
   Object is shown by a rectangular with classifier name
    in the center f rectangular and under line
   Object diagram shows complex relationship between
    classes
   It is useful if we feel classes as more abstract abstract
Object diagram
Package diagram
 Package diagram are used to divide the model into logical
    containers and their interaction
   Package diagram is used to show the high level view of the
    system
   As software system have a lot of class (building block in
    object oriented system) to organize those in a package to
    show higher level view of the system
   Package is used to structure your classes
   Package diagram is used divide the complex system in to
    modules
   And In large system to show the large elements and their
    communication
   It is used in large and complex systems
Package diagram (merge)
Package diagram
 A «merge» connector between two packages defines
 an implicit generalization between elements in the
 source package
Component diagram
 Component diagram shows the system in term
    modules
   Components can be represented as
    encapsulated, reusable, replaceable
   Component can be used as building block of the
    system
   Component communicate with each other through
    interfaces
   Component can do the same thing as class
Component diagram
Component diagram
 Component diagram are shown same as class instead
 of sign in the component diagram

      component             port




      required interface   provided interface
Component diagram
 Ball represented provided interfaces
 Provided interfaces that’s a component implements
 Required interfaces that a component required to
  provide its functionality
 Port is door way through communication pass
 Component is useful to show the system in term of
  module
Deployment diagram
 Deployment diagram model the physical layout of the
  system mapping software artifact to hardware in
  which they execute and their communication
 Deployment diagram is used to show the physical
  deployment of the system
 Deployment diagram has node which may be a hard
  ware or any device that host the software and my be a
  software that host another software (example
  operating system)
 Artifacts shows the software that is implemented on
  the hardware
Deployment diagram
All Behavioral Diagrams
Behavioral Modeling Diagram
 Use Case Diagram
 Activity Diagram
 State Machine Diagram
 Communication Diagram
 Sequence Diagram
 Timing Diagram
 Interaction Over view Diagram
Use Case Diagram
 A USE CASE is an interaction between a system and external
    stimulate, that could a human and may be an external system
   A USE CASE diagram is an purposed functionality of the system
   USE CASE diagram is used to show a discrete unit of work
   It is used at early stages of model
   It is the simplest diagram
   Example of USE CASE for a Stock trading system
   Open an account
   Close an account
   Deposit funds
   Draw funds
Use Case diagram
 This diagram consist of:
 Actor




It is represented by a human, either the actor is a human
Or and external system.
Actor is role
 Use case

              It is represented by an oval shape with title in it
Use Case diagram
 USE CASE diagram have relationship
 Include
It is relationship between a use case to another use case
  In which a include use case in necessary to perform
  other use case, for example in place order use case
  every time the check funds use case is included to
  complete the place order use case

                  place order(use case)   <include >   (check funds) use case
Use Case diagram
 USE CASE diagram have relationship
 Extends
 It is relationship between a use case to another use case
 In which a extends use case in exceptionally called for
 example, if before modifying a particular type of customer
 order, a user must get approval from some higher authority
 then the <Get Approval> use case may optionally extend
 the regular <Modify Order> use case.


                  Modify order(use case)   <extends>   (Get Approved) use case
State diagram
 It shows the dynamic view of the system
 It is also called state chart or state machine diagram
 It shows the behavior of the system in response to
  some external stimulate
 State diagram is consist of:
  States
  super states
  pseudo state
  Transition
State diagram
 State and super states are represented as a rounded
    box and sub states are in super state


   Pseudo                                                Psedu state
   State                       Trantion




   Super State   Sub State 1   Transient   sub state 2
State diagram
Activity diagram
 Activity diagram is also dynamic view of the system
 Activity diagram similar to flow charts
 Each activity consist of series of actions
 Actions are represented by oval shapes
 Actions are connected by arrows
 Arrow shows the flow of the activity diagram
 Activity diagram also shows decision points called
  decision node
Activity diagram
          portions line
          starting point


           Actions


          Decision node

           action



          actions




          End point
Activity diagram
 Activity diagram is used to describe the individual use
  case
 Use case is used to describe the user goal
 Activity diagram can be used where we can use flow
  charts
Timing diagram
 Timing diagrams are used to display the change in state or value of one
  or more elements over time.
 A state lifeline shows the change of state of an item over time
 The X-axis displays elapsed time in whatever units are chosen
 The Y-axis is label with a given list of states
Communication diagrams
 A communication diagram, formerly called a
    collaboration diagram
   It shows similar information to sequence diagrams
   Communication diagram shows the objects
    relationship
   Objects are shown with association connectors
    between them
   Messages are added to the associations and show as
    short arrows pointing in the direction of the message
    flow
Communication diagram
Interaction Overview diagram
 Interaction diagram is the combination of activity and sequence
    diagrams
   It allow interaction fragments to be easily combined with
    decision points and flows
   An interaction overview diagram is a form of activity diagram in
    which the nodes represent interaction diagrams.
    Interaction diagrams can include
    sequence, communication, interaction overview and timing
    diagrams.
   Most of the notation for interaction overview diagrams is the
    same for activity diagrams. For
    example, initial, final, decision, and join nodes are all the same.
    Interaction overview diagrams introduce two new elements:
    interaction occurrences and interaction elements.
Interaction Overview diagram
 Interaction occurrences are references to existing
  interaction diagrams.
 An interaction occurrence is shown as a reference
  frame; that is, a frame with quot;refquot; in the top-left corner
 Interaction elements are similar to interaction
  occurrences, in that they display a representation of
  existing interaction diagrams within a rectangular
  frame
Interaction Overview Diagram
Interaction Overview
 All the same controls from activity diagrams (fork,
  join, merge, etc.)
 Controls can be used on interaction overview diagrams
  to put the control logic around the lower level
  diagrams.
 The above example depicts a sample sale process
Sequence diagram
 Sequence diagrams provide a graphical representation
  of object interactions over time
 One sequence diagram typically represents a single
  Use Case 'scenario' or flow of events.
 The diagrams show the flow of messages from one
  object to another, and as such correspond to the
  methods and events supported by a class/object.
Uml Presentation
Uml Presentation

Contenu connexe

Tendances (20)

Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
 
Use case Diagram
Use case DiagramUse case Diagram
Use case Diagram
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
Unified process model
Unified process modelUnified process model
Unified process model
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Component Diagram
Component DiagramComponent Diagram
Component Diagram
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
UML
UMLUML
UML
 
object oriented methodologies
object oriented methodologiesobject oriented methodologies
object oriented methodologies
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
 
Seq uml
Seq umlSeq uml
Seq uml
 

En vedette

Using UML for architecture description
Using UML for architecture descriptionUsing UML for architecture description
Using UML for architecture descriptionRich Hilliard
 
Uml tutorial (1) (1)
Uml tutorial (1) (1)Uml tutorial (1) (1)
Uml tutorial (1) (1)IIUM
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netmekhap
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewRajiv Kumar
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Overview of Agile Methodology
Overview of Agile MethodologyOverview of Agile Methodology
Overview of Agile MethodologyHaresh Karkar
 

En vedette (16)

Using UML for architecture description
Using UML for architecture descriptionUsing UML for architecture description
Using UML for architecture description
 
Component Diagram
Component DiagramComponent Diagram
Component Diagram
 
Case tools
Case toolsCase tools
Case tools
 
Case tools
Case toolsCase tools
Case tools
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Interfaces & Packages V2
Interfaces & Packages V2Interfaces & Packages V2
Interfaces & Packages V2
 
uml reference package_diagram
uml reference package_diagramuml reference package_diagram
uml reference package_diagram
 
Package Diagram
Package DiagramPackage Diagram
Package Diagram
 
Uml tutorial (1) (1)
Uml tutorial (1) (1)Uml tutorial (1) (1)
Uml tutorial (1) (1)
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot net
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief Overview
 
Case tools
Case toolsCase tools
Case tools
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Overview of Agile Methodology
Overview of Agile MethodologyOverview of Agile Methodology
Overview of Agile Methodology
 

Similaire à Uml Presentation

Similaire à Uml Presentation (20)

UML
UMLUML
UML
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Unit III Dynamic and Implementation UML Diagrams.pptx
Unit III Dynamic and Implementation UML Diagrams.pptxUnit III Dynamic and Implementation UML Diagrams.pptx
Unit III Dynamic and Implementation UML Diagrams.pptx
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
UML tutorial
UML tutorialUML tutorial
UML tutorial
 
Uml introduction
Uml introductionUml introduction
Uml introduction
 
lecture 3.ppt
lecture  3.pptlecture  3.ppt
lecture 3.ppt
 
Uml
UmlUml
Uml
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
432
432432
432
 
SMD Unit ii
SMD Unit iiSMD Unit ii
SMD Unit ii
 
Ooad unit 1
Ooad unit 1Ooad unit 1
Ooad unit 1
 
FSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptxFSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptx
 
CIS110 Computer Programming Design Chapter (13)
CIS110 Computer Programming Design Chapter  (13)CIS110 Computer Programming Design Chapter  (13)
CIS110 Computer Programming Design Chapter (13)
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
Uml
UmlUml
Uml
 
Uml
UmlUml
Uml
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 

Dernier

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Dernier (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

Uml Presentation

  • 2. UML  What is UML  History of UML  Importance of software model  Various diagram of UML  Use of UML Diagram
  • 3. What is UML  Unified modeling language (UML) for visualizing, specifying, constructing, documenting of artifact of a software system  The blueprint of a system is written in it  UML is also used for modeling non-software system  It is standard for building object oriented and component based software system  UML is a notation system though which we can visualize a model of a system  It describe only design or structure of system
  • 4. History of UML  In early stages of model driven development there was a great need for some universal approach for modeling a software system  As deferent people understand the notation in different way if there is no universal model approach  At that time brooch, rumba, Jacobson gave there theories and universally accepted  All of three decided to build a notation language by merging all of three language and out product of that was UML (unified modeling language )
  • 5. History of UML  In 1997 OMG (Object management group) a non profit organization standardized the UML  Since then they are making improvement in UML  Released versions of UML
  • 6. Versions of UML  2.2 February 2009 http://www.omg.org/spec/UML/2.2  2.1.2 November 2007 http://www.omg.org/spec/UML/2.1.2  2.1.1 August 2007 http://www.omg.org/spec/UML/2.1.1  2.0 July 2005 http://www.omg.org/spec/UML/2.0  1.5 March 2003 http://www.omg.org/spec/UML/1.5  1.4.2 July 2004 ISO/IEC 19501  1.4 September 2001 http://www.omg.org/spec/UML/1.4  1.3 March 2000 http://www.omg.org/spec/UML/1.3  1.2 July 1998  1.1 November 1997
  • 7. UML 1.1  Use case diagrams (fulfill purposed functionality)  Class diagrams (depict static view and relationship)  Object diagrams (depict view of instance of class )  Sequence diagrams (depict messages over time line)  Collaboration diagrams (like sequence diagram but define object roles)  State chart diagrams (depicts states of the object)  Activity diagrams (dynamic view like flow chart )  Component diagrams (depict components )  Deployment diagrams (depict physical layout of system )
  • 8. New in UML2.0  Changes in activity diagram  The first noticeable change is that the nodes in activity diagrams are no longer called activities. They are called actions  These constraints are shown as notes attached to the action with the appropriate stereotype symbol  In UML 2.0, an action will not fire until each of the incoming flows triggers  new to UML 2.0, is the time signal. A time signal is received because a certain amount of time has passed
  • 9. New in UML 2.0  The final addition to the basic activity diagram is the connector.  The connector indicates that a flow moves from one activity diagram to another.  UML 2.0 contains three new ways to group and decompose actions  UML 2.0 introduces activity partitions to handle problems
  • 10. New to UML 2.0  Changes in Class diagram  Visibility is a single character representing whether the attribute is visible to the  public (+),  private (-),  protected (#),  or package (~).  The slash (/)  Indicates whether the attribute is derived
  • 11. Use Case diagram  Changes in use case diagram  The exact extension point that is used between the two use cases
  • 12. Importance of Software Model  If software is complex need of model  If a system is developed by the hundreds of People there is also need of model for smooth communication and understanding the software system  mange complexity in design  build and design architecture  Visualize the implementation  Design secure , scalable, robust and extendable system
  • 13. UML 2.0 Diagrams  UML is divided in to two General set of Diagrams  Structured modeling diagrams It depicts the static view of the model  Behavioral modeling diagram Behavior diagrams depicts the varieties of interaction within a model as it 'executes' over time
  • 14. Structural Modeling Diagram  Class Diagram  Object Diagram  Component Diagram  Package Diagram  Composite Structure  Deployment Diagram
  • 15. Behavioral Modeling Diagram  Use Case Diagram  Activity Diagram  State Machine Diagram  Communication Diagram  Sequence Diagram  Timing Diagram  Interaction Over view Diagram
  • 16. Class diagram  It depicts the static view of a model  It is the basic building block of the object oriented system  It illustrate the relation ship between classes in the system  Class diagram consist of:  Class diagram It consist of rectangle with three compartments Class name is added in this this compartment (teacher) Class attribute is added in this department (name ) Class methods are placed in this compartments (teach)
  • 17. Class diagram  + sign with attributes or methods shows class member are public  - sign with attribute or methods shows class members are private Class name is added in this this compartment (teacher) Class attribute is added in this department (-name) Class methods are placed in this compartments (+teach)
  • 18. Class diagram  Class diagram show relationship between class  Generalizations A generalization is used to indicate inheritance.  Aggregations Aggregations are used to depict elements which are made up of smaller components Example composite-Aggregation Address book and contact group and contacts
  • 23. Object diagram  An object diagram may be considered a special case of a class diagram  Object diagrams emphasize the relationship between instances of classes at some point in time  Object is shown by a rectangular with classifier name in the center f rectangular and under line  Object diagram shows complex relationship between classes  It is useful if we feel classes as more abstract abstract
  • 25. Package diagram  Package diagram are used to divide the model into logical containers and their interaction  Package diagram is used to show the high level view of the system  As software system have a lot of class (building block in object oriented system) to organize those in a package to show higher level view of the system  Package is used to structure your classes  Package diagram is used divide the complex system in to modules  And In large system to show the large elements and their communication  It is used in large and complex systems
  • 27. Package diagram  A «merge» connector between two packages defines an implicit generalization between elements in the source package
  • 28. Component diagram  Component diagram shows the system in term modules  Components can be represented as encapsulated, reusable, replaceable  Component can be used as building block of the system  Component communicate with each other through interfaces  Component can do the same thing as class
  • 30. Component diagram  Component diagram are shown same as class instead of sign in the component diagram component port required interface provided interface
  • 31. Component diagram  Ball represented provided interfaces  Provided interfaces that’s a component implements  Required interfaces that a component required to provide its functionality  Port is door way through communication pass  Component is useful to show the system in term of module
  • 32. Deployment diagram  Deployment diagram model the physical layout of the system mapping software artifact to hardware in which they execute and their communication  Deployment diagram is used to show the physical deployment of the system  Deployment diagram has node which may be a hard ware or any device that host the software and my be a software that host another software (example operating system)  Artifacts shows the software that is implemented on the hardware
  • 35. Behavioral Modeling Diagram  Use Case Diagram  Activity Diagram  State Machine Diagram  Communication Diagram  Sequence Diagram  Timing Diagram  Interaction Over view Diagram
  • 36. Use Case Diagram  A USE CASE is an interaction between a system and external stimulate, that could a human and may be an external system  A USE CASE diagram is an purposed functionality of the system  USE CASE diagram is used to show a discrete unit of work  It is used at early stages of model  It is the simplest diagram  Example of USE CASE for a Stock trading system  Open an account  Close an account  Deposit funds  Draw funds
  • 37. Use Case diagram  This diagram consist of:  Actor It is represented by a human, either the actor is a human Or and external system. Actor is role  Use case It is represented by an oval shape with title in it
  • 38. Use Case diagram  USE CASE diagram have relationship  Include It is relationship between a use case to another use case In which a include use case in necessary to perform other use case, for example in place order use case every time the check funds use case is included to complete the place order use case place order(use case) <include > (check funds) use case
  • 39. Use Case diagram  USE CASE diagram have relationship  Extends It is relationship between a use case to another use case In which a extends use case in exceptionally called for example, if before modifying a particular type of customer order, a user must get approval from some higher authority then the <Get Approval> use case may optionally extend the regular <Modify Order> use case. Modify order(use case) <extends> (Get Approved) use case
  • 40. State diagram  It shows the dynamic view of the system  It is also called state chart or state machine diagram  It shows the behavior of the system in response to some external stimulate  State diagram is consist of: States super states pseudo state Transition
  • 41. State diagram  State and super states are represented as a rounded box and sub states are in super state  Pseudo Psedu state  State Trantion  Super State Sub State 1 Transient sub state 2
  • 43. Activity diagram  Activity diagram is also dynamic view of the system  Activity diagram similar to flow charts  Each activity consist of series of actions  Actions are represented by oval shapes  Actions are connected by arrows  Arrow shows the flow of the activity diagram  Activity diagram also shows decision points called decision node
  • 44. Activity diagram portions line starting point Actions Decision node action actions End point
  • 45. Activity diagram  Activity diagram is used to describe the individual use case  Use case is used to describe the user goal  Activity diagram can be used where we can use flow charts
  • 46. Timing diagram  Timing diagrams are used to display the change in state or value of one or more elements over time.  A state lifeline shows the change of state of an item over time  The X-axis displays elapsed time in whatever units are chosen  The Y-axis is label with a given list of states
  • 47. Communication diagrams  A communication diagram, formerly called a collaboration diagram  It shows similar information to sequence diagrams  Communication diagram shows the objects relationship  Objects are shown with association connectors between them  Messages are added to the associations and show as short arrows pointing in the direction of the message flow
  • 49. Interaction Overview diagram  Interaction diagram is the combination of activity and sequence diagrams  It allow interaction fragments to be easily combined with decision points and flows  An interaction overview diagram is a form of activity diagram in which the nodes represent interaction diagrams.  Interaction diagrams can include sequence, communication, interaction overview and timing diagrams.  Most of the notation for interaction overview diagrams is the same for activity diagrams. For example, initial, final, decision, and join nodes are all the same.  Interaction overview diagrams introduce two new elements: interaction occurrences and interaction elements.
  • 50. Interaction Overview diagram  Interaction occurrences are references to existing interaction diagrams.  An interaction occurrence is shown as a reference frame; that is, a frame with quot;refquot; in the top-left corner  Interaction elements are similar to interaction occurrences, in that they display a representation of existing interaction diagrams within a rectangular frame
  • 51.
  • 53. Interaction Overview  All the same controls from activity diagrams (fork, join, merge, etc.)  Controls can be used on interaction overview diagrams to put the control logic around the lower level diagrams.  The above example depicts a sample sale process
  • 54. Sequence diagram  Sequence diagrams provide a graphical representation of object interactions over time  One sequence diagram typically represents a single Use Case 'scenario' or flow of events.  The diagrams show the flow of messages from one object to another, and as such correspond to the methods and events supported by a class/object.