Architectural Design




                    Deciding on the right Architectural Style
                  Mapping the DFD to a suitable Architecture



13 January 2012     Mady by Utpal Ray                           1
Architectural Design



              Different Architectural Style

    Data-Centered Architecture
    Data-Flow Architecture ( Pipes and Filters )
    Data-Flow Architecture ( Batch Sequential )
    Call and Return Architecture
    Layered Architecture ( OS Type )
    Layered Architecture ( Protocol Layer Type )
    Client Server Architecture



13 January 2012       Mady by Utpal Ray            2
Architectural Design
                  Data-Centered Architecture

                          Client                  Client
                         Software                Software


      Client                                                     Client
     Software                                                   Software

                                      Data Store
                                      (Repository)
      Client                                                     Client
     Software                                                   Software



                          Client                      Client
                         Software                    Software


13 January 2012        Mady by Utpal Ray                                   3
Architectural Design
       Data-Flow Architecture ( Pipes and Filters )


                                           Filter


                                                      Filter


          Filter             Filter        Filter



                                                      Filter


                                           Filter
                   Pipes


13 January 2012       Mady by Utpal Ray                        4
Architectural Design
          Data-Flow Architecture ( Batch Sequential )




             Filter             Filter      Filter   Filter




                                 Pipes




13 January 2012       Mady by Utpal Ray                       5
Architectural Design
                       Call and Return Architecture

                                                   M
                                             (Main Program)
                                                              Fan-out


Depth                  a                              b                 c



            d              e                          f           g     h      i


                                                                            Fan-in
                   j                  k                                 l
                                                   Width



 13 January 2012               Mady by Utpal Ray                                   6
Architectural Design
                  Layered Architecture ( OS Type )

                        User Interface
                           Layer
                          Application                Components
                            Layer


                              Utility
                              Layer



                                Core
                                Layer




13 January 2012        Mady by Utpal Ray                          7
Architectural Design
    Layered Architecture ( Protocol Layer Type )


                                Layer 7

                                Layer 6

                                Layer 5

                                Layer 4

                                Layer 3

                                Layer 2

                                Layer 1


13 January 2012   Mady by Utpal Ray                8
Architectural Design
                   Client-Server Architecture




                                   Communication
         Client                       Medium        Server
        Software                   (Protocol H/W   Software
                                     And S/W)




13 January 2012      Mady by Utpal Ray                        9
Architectural Design

      Which Architecture to choose?         Design Dimension

                                                 Reliability
      The answer lies in computing the          Performance
      Design Dimensions for each of               Security
      the Architecture Style and               Maintainability
      choosing that Architecture which           Flexibility
      scores the most.                           Testability
                                                 Portability
                                                Re-usability
                                              Inter-operability
                                               Dependability
                                                 Efficiency




13 January 2012   Mady by Utpal Ray                               10
Architectural Design

        Mapping DFD to Call and Return Architecture

    Any DFD has two kind of flow present, Transform Flow and
    Transaction Flow

    Identify the portion of the diagram which has a ‘Transform Flow’
    characteristics or ‘Transaction Flow’ characteristics.

    If necessary blow-up the DFD into further detail level ( 2,3 etc. ).

    Apply ‘Transform Mapping’ and/or ‘Transaction Mapping’ to get the
    desired Call and Return Architecture.




13 January 2012      Mady by Utpal Ray                                     11
Architectural Design
                  Example of an DFD showing Transform Flow




           Incoming Flow
              Boundary
                                                 d               f


       a                b                    c


                                                 e               g

                                    Transform
                                      Center
                                                 Outgoing Flow
                                                   Boundary



13 January 2012          Mady by Utpal Ray                           12
Architectural Design
    Mapping Transform Flow to Call and Return Architecture


                                 Overall
                                Transform
                                Executive


        Input                   Transform       Output
      Controller                Controller     Controller




           b                           c       e            d



           a                                   g            f



13 January 2012    Mady by Utpal Ray                            13
Architectural Design
              Example of an DFD showing Transaction Flow



                     Action Path                         e       f   g
                     Boundary
                                                 d
                             Action Path
Reception Path
Boundary                                                 h       i


        a               b                 c

                                                         j       k
                        Reception
                         Path
                                                     l
                                   Transaction               m
                                      Center

   13 January 2012          Mady by Utpal Ray                            14
Architectural Design
  Mapping Transaction Flow to Call and Return Architecture


                                        Overall
                                      Transaction
                                       Executive
                                                        Action Branch
     Reception Branch
                                              c


 b
                                                                           d
                  l                    j            h
                                                                        Controller
                                                                        Executive

 a                m                   k             i            e         f          g


                                                                 d


13 January 2012         Mady by Utpal Ray                                            15
Architectural Design


        HOME TASK

 1.     For the problem, “Course Registration System”; map the DFD to the
        ‘Call and Return’ architecture

 2.     For the problem, “Temperature Monitoring System”; map the DFD
        to the ‘Call and Return’ architecture.




13 January 2012      Mady by Utpal Ray                                      16

05 architectural design

  • 1.
    Architectural Design Deciding on the right Architectural Style Mapping the DFD to a suitable Architecture 13 January 2012 Mady by Utpal Ray 1
  • 2.
    Architectural Design Different Architectural Style Data-Centered Architecture Data-Flow Architecture ( Pipes and Filters ) Data-Flow Architecture ( Batch Sequential ) Call and Return Architecture Layered Architecture ( OS Type ) Layered Architecture ( Protocol Layer Type ) Client Server Architecture 13 January 2012 Mady by Utpal Ray 2
  • 3.
    Architectural Design Data-Centered Architecture Client Client Software Software Client Client Software Software Data Store (Repository) Client Client Software Software Client Client Software Software 13 January 2012 Mady by Utpal Ray 3
  • 4.
    Architectural Design Data-Flow Architecture ( Pipes and Filters ) Filter Filter Filter Filter Filter Filter Filter Pipes 13 January 2012 Mady by Utpal Ray 4
  • 5.
    Architectural Design Data-Flow Architecture ( Batch Sequential ) Filter Filter Filter Filter Pipes 13 January 2012 Mady by Utpal Ray 5
  • 6.
    Architectural Design Call and Return Architecture M (Main Program) Fan-out Depth a b c d e f g h i Fan-in j k l Width 13 January 2012 Mady by Utpal Ray 6
  • 7.
    Architectural Design Layered Architecture ( OS Type ) User Interface Layer Application Components Layer Utility Layer Core Layer 13 January 2012 Mady by Utpal Ray 7
  • 8.
    Architectural Design Layered Architecture ( Protocol Layer Type ) Layer 7 Layer 6 Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 13 January 2012 Mady by Utpal Ray 8
  • 9.
    Architectural Design Client-Server Architecture Communication Client Medium Server Software (Protocol H/W Software And S/W) 13 January 2012 Mady by Utpal Ray 9
  • 10.
    Architectural Design Which Architecture to choose? Design Dimension Reliability The answer lies in computing the Performance Design Dimensions for each of Security the Architecture Style and Maintainability choosing that Architecture which Flexibility scores the most. Testability Portability Re-usability Inter-operability Dependability Efficiency 13 January 2012 Mady by Utpal Ray 10
  • 11.
    Architectural Design Mapping DFD to Call and Return Architecture Any DFD has two kind of flow present, Transform Flow and Transaction Flow Identify the portion of the diagram which has a ‘Transform Flow’ characteristics or ‘Transaction Flow’ characteristics. If necessary blow-up the DFD into further detail level ( 2,3 etc. ). Apply ‘Transform Mapping’ and/or ‘Transaction Mapping’ to get the desired Call and Return Architecture. 13 January 2012 Mady by Utpal Ray 11
  • 12.
    Architectural Design Example of an DFD showing Transform Flow Incoming Flow Boundary d f a b c e g Transform Center Outgoing Flow Boundary 13 January 2012 Mady by Utpal Ray 12
  • 13.
    Architectural Design Mapping Transform Flow to Call and Return Architecture Overall Transform Executive Input Transform Output Controller Controller Controller b c e d a g f 13 January 2012 Mady by Utpal Ray 13
  • 14.
    Architectural Design Example of an DFD showing Transaction Flow Action Path e f g Boundary d Action Path Reception Path Boundary h i a b c j k Reception Path l Transaction m Center 13 January 2012 Mady by Utpal Ray 14
  • 15.
    Architectural Design Mapping Transaction Flow to Call and Return Architecture Overall Transaction Executive Action Branch Reception Branch c b d l j h Controller Executive a m k i e f g d 13 January 2012 Mady by Utpal Ray 15
  • 16.
    Architectural Design HOME TASK 1. For the problem, “Course Registration System”; map the DFD to the ‘Call and Return’ architecture 2. For the problem, “Temperature Monitoring System”; map the DFD to the ‘Call and Return’ architecture. 13 January 2012 Mady by Utpal Ray 16