05 architectural design

5,303 views

Published on

Principles of Software Engineering by Utpal Roy, Jadavpur University, Kolkata, India

05 architectural design

  1. 1. Architectural Design Deciding on the right Architectural Style Mapping the DFD to a suitable Architecture13 January 2012 Mady by Utpal Ray 1
  2. 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 Architecture13 January 2012 Mady by Utpal Ray 2
  3. 3. Architectural Design Data-Centered Architecture Client Client Software Software Client Client Software Software Data Store (Repository) Client Client Software Software Client Client Software Software13 January 2012 Mady by Utpal Ray 3
  4. 4. Architectural Design Data-Flow Architecture ( Pipes and Filters ) Filter Filter Filter Filter Filter Filter Filter Pipes13 January 2012 Mady by Utpal Ray 4
  5. 5. Architectural Design Data-Flow Architecture ( Batch Sequential ) Filter Filter Filter Filter Pipes13 January 2012 Mady by Utpal Ray 5
  6. 6. Architectural Design Call and Return Architecture M (Main Program) Fan-outDepth a b c d e f g h i Fan-in j k l Width 13 January 2012 Mady by Utpal Ray 6
  7. 7. Architectural Design Layered Architecture ( OS Type ) User Interface Layer Application Components Layer Utility Layer Core Layer13 January 2012 Mady by Utpal Ray 7
  8. 8. Architectural Design Layered Architecture ( Protocol Layer Type ) Layer 7 Layer 6 Layer 5 Layer 4 Layer 3 Layer 2 Layer 113 January 2012 Mady by Utpal Ray 8
  9. 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. 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 Efficiency13 January 2012 Mady by Utpal Ray 10
  11. 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. 12. Architectural Design Example of an DFD showing Transform Flow Incoming Flow Boundary d f a b c e g Transform Center Outgoing Flow Boundary13 January 2012 Mady by Utpal Ray 12
  13. 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 f13 January 2012 Mady by Utpal Ray 13
  14. 14. Architectural Design Example of an DFD showing Transaction Flow Action Path e f g Boundary d Action PathReception PathBoundary h i a b c j k Reception Path l Transaction m Center 13 January 2012 Mady by Utpal Ray 14
  15. 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 d13 January 2012 Mady by Utpal Ray 15
  16. 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

×