National University of Laos

Slides:



Advertisements
Similar presentations
Collection Service. 19 February 2001CYCLADES Kick-off meeting Collection A set of documents A set of services on the documents A set of polices that regulate.
Advertisements

Software Architecture Design Chapter 12 Part of Design Analysis Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
School of Engineering & Technology Computer Architecture Pipeline.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 1 Object-Oriented.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 5 Slide 1 Review 2.
SWE Introduction to Software Engineering
5.0 Objects First with Java A Practical Introduction using BlueJ David J. Barnes Michael Kölling.
Chapter 4 Database Management Systems. Chapter 4Slide 2 What is a Database Management System (DBMS)?  Database An organized collection of related data.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 12 Object-Oriented.
Simple Database.
5.0 Objects First with Java A Practical Introduction using BlueJ Introduction to Computer Science I Instructor: Allyson Anderson.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Enhanced Guide to Oracle8i
© 2005 Prentice Hall9-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
Prof. Moustafa M. Mohamed Vice dean Faculty of Allied Medical Science Pharos University in Alexandria Development and Regulation of Medical Products (MEDR-101)
LaHave House Project 1 LaHave House Project Automated Architectural Design BML + ARC.
Chapter 19: Interfaces and Components [Arlow and Neustadt, 2005] University of Nevada, Reno Department of Computer Science & Engineering.
Unit 4 Day 1 FOCS – Introduction to Programming. Journal Entry: Unit #5Entry #1 In detail describe programming in Scratch. Describe how to use Events,
IFS310: Module 9 Systems Design - Procurement Phase - Software Design.
Computer Science & Engineering 2111 Database Objects 1 CSE 2111 Introduction to Database Management Systems.
Chapter 4. CONCEPT OF THE OPERATING SYSTEM MANAGING ESSENTIAL FILE OPERATIONS.
CompSci 280 S Introduction to Software Development
Introduction to Database Systems
Software Design Refinement Using Design Patterns
UML Diagrams: Class Diagrams The Static Analysis Model
CS 325: Software Engineering
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Client/Server Databases and the Oracle 10g Relational Database
IS301 – Software Engineering Dept of Computer Information Systems
Hierarchy of Data in a Database
Instructor: Dr. Hany H. Ammar
Part 3 Design What does design mean in different fields?
Design a Relational Database Identify Database Purpose
Database Management  .
Managing Information Systems and Communications Technology
CS 174: Server-Side Web Programming February 12 Class Meeting
Chapter 19: Interfaces and Components
Topic I Introduction to Computer Architecture and Organization
Worse is better, also called the New Jersey style, is the name of a computer software design.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2005 Instructor: Patrice Chalin.
Princess Nourah bint Abdulrahman University
Software Development Process
Chapter 1: Introduction
Systems Analysis and Design in a Changing World, 6th Edition
Software Engineering Lecture #45
Project Title This is a sample slide layout
Chapter 19: Interfaces and Components
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
Chapter 19: Interfaces and Components
Topics discussed in this section:
Topics discussed in this section:
Energy-Efficient Storage Systems
Evaluating Logarithms
Lingma Acheson Department of Computer and Information Science IUPUI
Chapter 2: Intro to Relational Model
Student: Ravi Arvapally, Computer Science Department
A Very Brief Introduction to Relational Databases
Embedded Systems Design and Development
Interfaces and Components
INTOSAI IT AUDIT TRAINING
Software Engineering and Architecture
 Is a machine that is able to take information (input), do some work on (process), and to make new information (output) COMPUTER.
Project Title This is a sample poster layout -
Input-Output Stability
Chapter 19: Interfaces and Components
HUMAN COMPUTER INTERACTION. The main aims of the chapter are to: Explain the difference between good and poor interaction design. Describe what interaction.
Presentation transcript:

National University of Laos Chapter 5 Software Design Mr. Bounmy PHANTHAVONG Introduction to Software Engineering, Faculty of Science, Department of Computer Science National University of Laos

Architecture / ໂຄງສ້າງ Software Design Detail / ລາຍລະອຽດ ຄວາມຕ້ອງການ ອອກແບບລະບົບ Architecture / ໂຄງສ້າງ

Software Design Software Design : ການອອກແບບຊອບແວ ເປັນກະບວນການກຳນົດ ສະຖາປັດຕະຍະກຳ, ສ່ວນປະກອບ, ສ່ວນປະສານແລະລັກສະນະ ອື່ນໆຂອງລະບົບ ການອອກແບບແບ່ງອອກເປັນ 2 ລະດັບ ສະຖາປັດຕະຍະກຳ(Top Level Design) ກຳນົດລັກສະນະໂຄງ ສ້າງລະບົບ 2. ລາຍລະອຽດ (Detailed Design) ກຳນົດລາຍລະອຽດໃນແຕ່ລະ ສ່ວນ

Software Design Architecture

Software Design Detailed

Software Design ສະຖາປັດຕະຍະກຳ (Top Level Design) Architecture Style Blackboard Model ແບ່ງປັນຂໍ້ມູນ ເໝາະກັບປັນຫາແບບບໍ່ມີໂຄງສ້າງ ໃຊ້ໃນການປະຊຸມ ລະດົມສະໝອງ ເພື່ອແກ້ ປັນຫາແລະຕັດສິນໃຈແບບກຸ່ມ

Software Design ສະ​ຖາ​ປັດ​ຍະ​ກຳ (Top Level Design) Architecture Style  Blackboard Model ຂໍ້​ດີ ແບ່ງ​ປັນ​ຂໍ້​ມູນ​ຈຳນວນ​ຫລາຍ​ໂດຍ​ບໍ່​ຕ້ອງ​ສົ່ງ​ຂໍ້​ມູນ​ລະຫວ່າງ​ລະບົບ​ຍ່ອຍ ລະບົບ​ຍ່ອຍ​ມີ​ຫນ້າທີ່​ພຽງ​ຜະລິດ​ຂໍ້​ມູນ ການ​ສຳຮອງ ຮັກສາຂໍ້​ມູນ​ເປັນ​ຫນ້າທີ່​ຂອງ​ສ່ວນ​ກາງ ສາມາດ​ນຳ​ເຄື່ອງ​ມື​ອື່ນ ໆ ທີ່​ຮອງ​ຮັບ​ລະບົບ ມາ​ເພິ່ມເຕິມ​ໄດ້

Software Design ສະ​ຖາ​ປັດ​ຍະ​ກຳ (Top Level Design) Architecture Style Blackboard Model ຂໍ້​ເສຍ ລະບົບ​ຍ່ອຍ​ທີ່​ນຳ​ມາ​ໃຊ້​ຮ່ວມ​ກັນ​ໃນ​ລະບົບ​ຈະ​ຕ້ອງ​ມີ​ຮູບ​ແບບ​ດຽວ ​ກັນ​ເທົ່າ​ນັ້ນ ຕ້ອງ​ໃຊ້​ລະບົບ​ຄອມພິວເຕີ​ຊະນິດ​ດຽວ​ກັນ ຂໍ້​ມູນ​ມີ​ຈຳນວນ​ຫລາຍ ການ​ແກ້​ໄຂ​ປັບປຸງ​ແບບ​ຈຳ​ລອງ​ມີ​ຄ່າ​ໃຊ້​ຈ່າຍ ​ ສູງ

Software Design

Software Design ສະ​ຖາ​ປັດ​ຍະ​ກຳ (Top Level Design) Architecture Style Client / Server Model ຂໍ້​ດີ ມີ​ຄວາມ​ຄ່ອງ​ຕົວ​ໃນ​ການ​ໃຊ້​ງານ​ສູງ ລາ​ຄາ​ຢູ່ໃນລະດັບ​ຕ່ຳ ການ​ເພີ່ມປັບປຸງ Server ​ເຮັດ​ໄດ້​ງ່າຍ​ບໍ່​ກະທົບ​ສ່ວນ​ອື່ນ​ຂອງ ​ລະບົບ ການ​ສຳ​ຮອງ ຮັກສາ​ຂໍ້​ມູນ​ເປັນ​ຫນ້າທີ່​ຂອງ​ສ່ວນ​ກາງ

Software Design ສະ​ຖາ​ປັດ​ຍະ​ກຳ (Top Level Design) Architecture Style Client / Server Model • ຂໍ້​ເສຍ ກໍລະນີ Server ຫລາຍ​ເຄື່ອງ​ຈະ​ຕ້ອງ​ຕິດ​ຕັ້ງ​ລະບົບ​ຈັດການ ​ຄວາມ​ຊ້າ​ຊ້ອນ​ຂອງ​ຂໍ້​ມູນ​ດ້ວຍ ກໍລະນີ Server ມີ​ບັນຫາ ລະບົບ​ຈະ​ຢຸດ​ການ​ທາ​ງານ​ທັນ​ທີ

Software Design ຫລັກ​ການ​ອອກ​ແບບ​ຊອບ​ແວ ສະແດງ​ໃຫ້​ເຫັນ​ເຖິງ​ຮູບ​ແບ​ບສະ​ຖາ​ປັດ​ຍະ​ກຳ​ໄດ້​ຢ່າງ​ຊັດເຈນ 2. ຄວນ​ມີ​ລັກສະນະ​ເປັນ​ໂມ​ດູນ 3. ອອກ​ແບບ​ຄອມ​ໂພ​ເນັ້ນ ທີ່​ອິດສະຫຼະ​ຕໍ່​ກັນ 4. ໃຊ້​ລະບຽບ​ວິທີ​ການ​ດຽວ​ກັນ​ທຸກ​ຂັ້ນ​ຕອນ 5. ຊື່​ຄວາມຫມາຍ​ຊັດເຈນ ມີ​ມາດຕະຖານ 6. ຄວນ​ມີ​ໂຄງ​ສ້າງ​ທີ່​ດີ ເພື່ອ​ແກ້​ໄຂ​ງ່າຍ ຕົ້ນ​ທືນຕໍ່າ

Software Design ຄຸນນະພາບ​ແລະ​ການ​ປະ​ເມີນ​ຄຸນນະພາບ​ການ​ອອກ​ແບບ ເກນ​ຄຸນນະພາບ (Quality Attribute/ Non-Functional Requirement) 2. ການ​ວິ​ເຄາະ​ແລະ​ປະ​ເມີນ​ຄຸນນະພາບ (Analysis and Evaluation) 3. ການ​ວັດ (Measure)

Software Design ຄຸນນະພາບ​ແລະ​ການ​ປະ​ເມີນ​ຄຸນນະພາບ​ການ​ອອກ​ແບບ ເກນ​ຄຸນນະພາບ (Quality Attribute/ Non-Functional Requirement) ການ​​ເຮັ​ດວຽກ​ຂອງ​ລະບົບ (ຫນ້າທີ່​ທົ່ວ​ໄປ ຄວາມ​ປອດ​ໄພ) ຄວາມ​ສາມາດ​ໃນ​ການ​ໃຊ້​ງານ (ໃຊ້​ງານ​ງ່າຍ ຮຽນ​ຮູ້​ໄດ້​ໄວ) ຄວາມ​ໜ້າ​ເຊື່ອ​ຖື (ຄວາມ​ຜິດ​ພາດ ຄວາມ​ຖືກ​ຕ້ອງ​ຂອງ​ຜົນ​ໄດ້​ຮັບ) ປະ​ສິດ​ທິ​ພາບ (ຄວາມ​ໄວ​ໃນ​ການ​ປະ​ມວນ​ຜົນ ລະ​ຍະ​ເວລາ​ຕອບ ສະຫນອງ) ຄວາມ​ສາມາດ​ໃນ​ການ​ສະໜັບສະໜູນ​ການ​ໃຊ້​ງານ (ການ​ບຳລຸງ​ຮັກສາ ການ​ປັບປຸງ ການ​​ເຮັດ​ວຽກ​ຂ້າມ​ລະບົບ)

Software Design ຄຸນນະພາບ​ແລະ​ການ​ປະ​ເມີນ​ຄຸນນະພາບ​ງານ​ອອກ​ແບບ 2. ການ​ວິ​ເຄາະ​ແລະ​ປະ​ເມີນ​ຄຸນນະພາບ (Analysis and Evaluation) ທົບ​ທວນ​ການ​ອອກ​ແບບ​ຊອບແວ ວິ​ເຄາະ​ວິທີການ​ອອກ​ແບບ ການ​ຈຳ​ລອງ​ສະຖານະການ​ແລະ​ການສ້າງ​ຕົ້ນ​ແບບ

Software Design ຄຸນນະພາບ​ແລະ​ການ​ປະ​ເມີນ​ຄຸນນະພາບ​ງານ​ອອກ​ແບບ 3. ການ​ວັດ (Measure) ອອກ​ແບບ​ດ້ວຍຮູບແບບ​ໂຄງ​ສ້າງ Coupling ວັດ​ຄວາມ​ສຳພັນ​ລະຫວ່າງ 2 ໂມ​ດູນ ມີ​ຄວາມ​ຂຶ້ນ​ຕໍ່​ກັນ ​ຫລາຍ​ນ້ອຍ​ພຽງ​ໃດ (ນ້ອຍ) Cohesion ລະ​ດັບ​ຄວາມ​ສຳພັນ​ກັນ​ຂອງ​ຫນ້າທີ່​ໃນ​ໂມ​ດູນ (ຫລາຍ) ອອກ​ແບບ​ດ້ວຍຮູບແບບ​ວັດ​ຖຸ ຄວາມ​ສຳພັນ​ລະຫວ່າງ Class ​ການ​ໂຕ້​ຕອບ​ກັນ​ລະຫວ່າງ method ຂອງ Class

Software Design ການ​ອອກ​ແບບ​ສ່ວນ​ປະ​ສານ​ກັບ​ຜູ້​ໃຊ້ User Interface ກົດ​ການ​ອອກ​ແບບ ໃຫ້​ຜູ້​ໃຊ້​ຄວບ​ຄຸມ​ການ​ເຮັດວຽກບາງຢ່າງ​ໄດ້ ລຸດ​ປະລິມານ​ຂອງ​ສິ່ງ​ທີ່​ຜູ້​ໃຊ້​ຕ້ອງ​ຈື່​ຈຳລົ​ງ ສ່ວນ​ປະ​ສານ​ຕ້ອງ​ສອດ​ຄ້ອງ​ກັນ

Software Design ການ​ອອກ​ແບບ​ສ່ວນ​ປະ​ສານ​ກັບ​ຜູ້​ໃຊ້ User Interface ກົດ​ການ​ອອກ​ແບບ ໃຫ້​ຜູ້​ໃຊ້​ຄວບ​ຄຸມ​ການ​ເຮັດວຽກ​ບາງຢ່າງ​ໄດ້ • ບໍ່​ຄວນ​ບັງຄັບ​ໃຫ້​ຜູ້​ໃຊ້​ໂຕ້​ຕອບ​ກັບ​ລະບົບ​ໂດຍ​ບໍ່​ຈຳ​ເປັນ • ອະນຸຍາດ​ໃຫ້​ໂຕ້​ຕອບ​ກັບ​ລະບົບ​ໄດ້​ຫລາຍກວ່າ 1 ທາງ • ອະນຸຍາດ​ໃຫ້​ສະ​ຫລັບ​ການ​ເຮັດວຽກ ​ຫລື​ຍົກ​ເລີກ​ບາງຢ່າງ​ໄດ້ • ຕຽມ​ເຄື່ອງ​ມື​ສ້າງ​ການ​ ເຮັດວຽກແບບ​ອັດ​ໂນ​ມັດໃຫ້​ກັບ​ຜູ້​ໃຊ້ • ບໍ່​ຄວນ​ໃຫ້​ຜູ້​ໃຊ້​ຕິດ​ຕໍ່​ກັບ​ລະບົບ​ປະຕິບັດການ​ດ້ວຍ​ການ​ພິມ​ຄຳ​ສັ່ງ​ໂດຍ​ກົງ

Software Design ການ​ອອກ​ແບບ​ສ່ວນ​ປະ​ສານ​ກັບ​ຜູ້​ໃຊ້ User Interface ກົດ​ການ​ອອກ​ແບບ ຫລຸດ​ປະລິມານ​ຂອງ​ສິ່ງ​ທີ່​ຜູ້​ໃຊ້​ຕ້ອງ​ຈື່ຈຳລົ​ງ • ກຳ​ໜົດ​ຄ່າ​ເລີ່ມ​ຕົ້ນ​ການ​ໃຊ້​ງານ​ທີ່​ເໝາະ​ສົມ • ໃຊ້​ຄີ​ລັດ ທີ່​ຊື່​ຄວາມຫມາຍ​ແລະ​ຈົດຈຳ​ໄດ້​ງ່າຍ • ສະ​ແດງ​ຖາ​ນະ​ການ​​ເຮັດ​ວຽກ​ຂອງ​ຜູ້​ໃຊ້​ໃນ​ກະ​ບວນ​ການ​ຕ່າງ ໆ • ສະແດງ​ລາຍ​ລະອຽດ​ການ​ໃຊ້​ວຽກໂດຍສັງ​ເຂບ

ສະແດງລາຍຊື່ໂດຍອັດຕະໂນມັດ Software Design ສະແດງລາຍຊື່ໂດຍອັດຕະໂນມັດ

Software Design ການ​ອອກ​ແບບ​ສ່ວນ​ປະ​ສານ​ກັບ​ຜູ້​ໃຊ້ User Interface ສ່ວນ​ປະ​ສານ​ສຳ​ຫລັບ​ການ​ໂຕ້​ຕອບ (input interface) ສ່ວນ​ປະ​ສານ​ສຳຫລັບ​ການ​ນຳ​ສະເໜີ (output interface)

Software Design ການ​ອອກ​ແບບ​ສ່ວນ​ປະ​ສານ​ກັບ​ຜູ້​ໃຊ້ User Interface ສ່ວນ​ປະ​ສານ​ສຳຫລັບ​ການ​ໂຕ້​ຕອບ (input interface) ໂຕ້​ຕອບ​ກັບ​ລະບົບ​ໂດຍ​ກົງ ການ​ເລືອກ​ເມ​ນູ​ຄຳ​ສັ່ງ ການ​ປ້ອນ​ຂໍ້​ມູນ​ລົງ​ແບບ​ຟອມ ການ​ໂຕ້​ຕອບ​ດ້ວຍ​ພາສາ​ທຳມະຊາດ

ໂຕ້ຕອບກັບລະບົບໂດຍກົງ Software Design ໂຕ້ຕອບກັບລະບົບໂດຍກົງ

Software Design ການເລືອກເມນູຄຳສັ່ງ ການເລືອກເມນູຄຳສັ່ງ

ກາກປ້ອນຂໍ້ມູນລົງໃນແບບຟອມ Software Design ກາກປ້ອນຂໍ້ມູນລົງໃນແບບຟອມ

Software Design ການ​ອອກ​ແບບ​ສ່ວນ​ປະ​ສານ​ກັບ​ຜູ້​ໃຊ້ User Interface ສ່ວນ​ປະ​ສານ​ສຳຫລັບ​ການ​ໂຕ້​ຕອບ (input interface) ສ່ວນ​ປະ​ສານ​ສຳ​ຫລັບ​ການ​ນຳ​ສະເໜີ (output interface) • Alphanumeric Information ບໍ່​ປ່ຽນ​ແປງ​ຕາມ​ມື້​ແລະ​ເວລາ Dynamically Information ປ່ຽນ​ແປງ​ຂຶ້ນ​ລົງ​ຕາມ​ມື້​ແລະ​ ເວລາ

Software Design

Software Design

Software Design ການ​ອອກ​ແບບ​ສ່ວນ​ປະ​ສານ​ກັບ​ຜູ້​ໃຊ້ User Interface ການ​ໃຊ້​ສີ ຈາ​ນວນ​ສີ​ບໍ່​ຫລາຍ​ເກີນ​ໄປ ໃຊ້​ສີ​ແຕກ​ຕ່າງ​ກັນ​ເມື່ອ​ສະ​ຖາ​ນະ​ຂອງ​ລະບົບ​ປ່ຽນ​ໄປ ໃຊ້​ສີ​ເປັນ​ສັນຍະລັກ ໃຊ້​ສີ​ໃຫ້​ສອດ​ຄ້ອງ​ກັບ​ລະບົບ ບໍ່​ຄວນ​ໃຊ້​ສີ​ປຽບທຽບ​ຂໍ້​ມູນ

Software Design ການ​ອອກ​ແບບ​ຖານ​ຂໍ້​ມູນ ການ​ອອກ​ແບບ​ໂຄງ​ສ້າງ​ຂໍ້​ມູນ​ທີ່​ຢູ່ໃນ​ລະບົບ 1. ລວບລວມ​ຂໍ້​ມູນ​ທີ່​ກ່ຽວ​ຂ້ອງ​ກັບ​ລະບົບ ມາ​ສ້າງ​ໃນ​ຮູບ ​ ແບບ​ຂອງ​ຕາ​ລາງ​ຂໍ້​ມູນ 2. ຫາ​ຄວາມ​ສຳພັນ​ຂອງ​ຂໍ້​ມູນ​ແຕ່​ລະ​ຕາ​ລາງ 3. ຫລຸດ​ຄວາມ​ຊ້ຳ​ຊ້ອນ​ຂອງ​ຂໍ້​ມູນ 4. ສ້າງ Primary key ໃໝ່ ແທນ Composite Key 5. ແປງ​ຊື່​ column ຂອງ​ຕາ​ລາງ​ເປັນ Field 6. ແປງ​ຊື່​ຕາ​ລາງ​ເປັນ Table

Software Design