1288
Comment:
|
← Revision 107 as of 2008-10-03 20:18:42 ⇥
1288
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
[[Navigation(children, 1)]] | <<Navigation(children, 1)>> |
Line 4: | Line 4: |
[[TableOfContents]] | <<TableOfContents>> |
Line 12: | Line 12: |
[[Include(/AssignmentGantt,'Gantt',2,from='^----')]] [[Include(/AssignmentSchedule,'Week plan',2,from='^----')]] |
<<Include(/AssignmentGantt,'Gantt',2,from='^----')>> <<Include(/AssignmentSchedule,'Week plan',2,from='^----')>> |
Line 20: | Line 20: |
[[Include(/Resources,,,from='^----')]] | <<Include(/Resources,,,from='^----')>> |
/AssignmentGantt /AssignmentSchedule /Resources /tmrjnaqfewdetnoykxtadsjrm /vhgcxixkfbaapuyegolh |
Contents
Owning a hammer doesn't make one an architect.
Introduction
So you have done Java A and even B. Congratulations. Have you also found that Java offers something that is more than a programming language? With this assignment, we will try to wrap up your knowledge about Java, or any other object-oriented programming language you know (C++, Object Pascal, Python, Ruby ...), to get the essence of object orientation, to turn yourself from a craftsman back to a designer: Use object orientation as a tool to slice the complex into the simple, and put them back again in a structured way.
Schedule
Gantt
<project xmlns:pg="http://www.logilab.org/namespaces/pygantt_docbook" id="monprojet"> <label>Object Orientation and Design Patterns</label> <task id="uml"> <label>Introduction to UML</label> <task id="lecture1"> <label>Lecture: Introduction to UML</label> <duration>1</duration> <constraint type="begin-after-date">2005/02/21</constraint> </task> <task id="task1"> <label>Task 1: Practice UML diagrams</label> <duration>10</duration> <constraint type="begin-after-date">2005/02/21</constraint> </task> </task> <task id="ooad"> <label>OOA and OOD</label> <task id="lecture2"> <label>Lecture: Object Reloaded</label> <duration>1</duration> <constraint type="begin-after-date">2005/03/07</constraint> </task> <task id="task2"> <label>Task 2: Modeling your product</label> <duration>10</duration> <constraint type="begin-after-date">2005/03/07</constraint> </task> <task id="presentation1"> <label>Presentation: result of Task2</label> <duration>1</duration> <constraint type="begin-after-date">2005/03/21</constraint> </task> </task> <task id="dp"> <label>Design Patterns</label> <task id="lecture3"> <label>Lecture: Design Patterns I</label> <duration>1</duration> <constraint type="begin-after-date">2005/03/14</constraint> </task> <task id="lecture4"> <label>Lecture: Design Patterns II</label> <duration>1</duration> <constraint type="begin-after-date">2005/04/04</constraint> </task> <task id="task3"> <label>Task 3: Redesign your software</label> <duration>10</duration> <constraint type="begin-after-date">2005/03/21</constraint> </task> </task> <task id="deadline"> <label>Final deliverable: Deadline</label> <duration>1</duration> <constraint type="begin-after-date">2005/04/06</constraint> </task> </project>
Week plan
- Week 1
Read online: UML Tutorial in 7 days by Slobodan Kalajdziski; You may also download a zipped copy from here for reading offline.
Read in the train: Introduction to the Unified Modeling Language (PDF) by Terry Quatrani; Also a local copy here.
Refreshing your Java Objects: Thinking in Java. Local copies: Zipped HTML, PDF
- Chapter 1: introduction to Objects (skip "Java and the Internet", "Why Java succeeds" and "Java vs C++")
- Chapter 16: Analysis and Design
- Start thinking about how to model a product you designed, using UML diagrams.
Task 1, to be finished in 2 weeks:
Practice UML diagrams using Microsoft Visio 2003 (available as a campus software package). You may also want UML 2.0 stencils from Pavel Hruby
Continue Task 1.
Lecture: Object Reloaded (OOA & OOD) (07-03 15.45-17.30 HG 2.80)
Essense of Object Oriented Programming Several chapters of this book by Wampler are available online. Chapter 2 is a very good overview of object-orientation.
Again: UML Tutorial in 7 days by Slobodan Kalajdziski. This time you should focus more on the analysis and design. Read RAD (Rapid Application Development) (Day 1), Day 5 and Day 6.
Object-Oriented Analysis and Design using CRC Cards CRC (Control, Responsibilities, and Collaborators) cards are an important tool for identifying and defining the classes you need for your program. They are an excellent low-tech method requiring only index cards.
Task 2, to be finished in 2 weeks:
Modeling ( not programming) a product designed by yourself, using use case diagrams, class diagrams, sequence diagrams and activity diagrams.
- Week 4
Reading: The Design Patterns java Companion
- You may also refer to the following famous books (if you are lucky, you may grab a copy from the university library):
Non-Software Examples of Software Design Patterns (PDF) by Michael Duell. A bit old (1998), but if you can't manage to understand the design patterns in Java, this artical may help.
Continue Task 2.
Task 3, to be finished in 2 weeks
Find a program you wrote before, for example, the program you wrote for Java A or Java B, or any other programs in any language
- Read your program again.
- Now, how would you like to impprove your design using a object-oriented approach?
- Show me your original code,
- identify the problems if there is any,
- redesign it using object-oriented approach,
- apply design patterns in your desgin,
- try to communicate your object-oriented new desgin with me using UML diagrams.
Implementation of your new design is appreciated, but not obligatory.
Continue Task 3
Feedback, Q&A
Final deliverables
- Report of Task 2 and 3.
In your report, include a section to convince me that an object-oriented approach can also be useful for you as a intelligent product and service designer (not as a software designer or a programmer), or a section to convice me that the object-oriented approach is useless at all in design. Explain why, and if it can be useful, tell me how.
Deadline: Aprial 6, 9:00AM Sharp.
Must read
Introduction to the Unified Modeling Language (PDF) by Terry Quatrani;
UML Tutorial in 7 days by Slobodan Kalajdziski;
Non-Software Examples of Software Design Patterns (PDF) by Michael Duell.
Online Resources
Official OMG UML site, but do not try to read the entire UML specification.
UML Totorial in 7 days by Slobodan Kalajdziski;