110 likes | 203 Views
樣式導向設計 (Pattern-Oriented Design) 課程簡介. Ku-Yaw Chang canseco@mail.dyu.edu.tw Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University. Course Information. Elective with 3 credits Text Book
E N D
樣式導向設計(Pattern-Oriented Design)課程簡介 Ku-Yaw Chang canseco@mail.dyu.edu.tw Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University
Course Information • Elective with 3 credits • Text Book • Alan Shalloway and James Trott, Design Patterns Explained, Addison Wesley, 2002.(ISBN: 0-201-71594-5) Pattern-Oriented Design
Course Information • Major Reference Book • E. Gamma, E. Helm, R. Johnson and J. Vlissides, Design Patterns - Elements of Reusable Object-Oriented Software,Addison-Wesley, 1995.(ISBN: 0-201-63361-2) • GoF (Gang of Four) • 23 different patterns • A must for C++ developers. Pattern-Oriented Design
Grading • All examinations and quizzes are in English. • Grading Policy • Attendance and Quizzes/Assignments • 30% • Midterm Exam • 30% • Final Project • 40% • Extra Bonus • 10% • Public discussion is encouraged ! Pattern-Oriented Design
Grading • Final grades may be adjusted based on a linear mapping. • Ex. 45 as threshold • 100-X / 100-45 = 100-X’ / 100-60 • 40(100-X) = 55(100-X’) • X’ = (300+8X) / 11 • X = 100 -> X’ = 100 • X = 45 -> X’ = 60 • X = 0 -> X’ = 27 100 100 X’ X 60 45 Pattern-Oriented Design
Prerequisites • Object-Oriented Concept • Object-Oriented Programming Language • C++ • Visual C++ .Net 2003 Pattern-Oriented Design
Overview Object-Oriented Paradigm (Chapter 1) UML – Unified Modeling Language (Chapter 2) A Review of C++ An Introduction to Design Patterns (Chapter 5) Pattern by pattern Architectural Patterns Document-View Pattern Design Patterns The Facade Pattern (Chapter 6) The Adapter Pattern (Chapter 7) The Bridge Pattern (Chapter 9) The Abstract Factory Pattern (Chapter 10) Outline Pattern-Oriented Design
Divided the class into groups, for each group Presentation Select a pattern from GoF Using UML A Program Consist of a pattern or patterns (better) Final Project Pattern-Oriented Design
Creational Patterns Abstract Factory Builder Factory Method Prototype Singleton Structural Patterns Adapter Bridge Composite Decorator Facade Flyweight Proxy Patterns in GOF Pattern-Oriented Design
Behavioral Patterns Chain of Responsibility Command Interpreter Mediator Memento Observer State Strategy Template Method Visitor Patterns in GOF Pattern-Oriented Design
The End Pattern-Oriented Design