-
Notifications
You must be signed in to change notification settings - Fork 1
Lecture Notes 5
Date: 13.03.2025
-
System Design (Diagrams)
-
Example of creating sequence diagram from a class and use case diagrams
-
Common mistakes on sequence diagram
-
Milestone- Tracking- Planning
A Sequence Diagram represents the flow of execution in a system, showing how objects interact over time. It is closely related to the Class Diagram because it shows which methods are being called on which classes.
- Helps visualize interactions between objects over time.
- Identifies missing methods in the Class Diagram.
- Ensures logical ordering of function calls.
- Prevents unnecessary parallel design (Sequence Diagrams should always be derived from Use Case Diagrams and Class Diagrams).
Precondition: The system must be at a specific state before execution (e.g., the user must be logged in).
- Select a use case and give it a title (e.g., SD_CreateToDoList).
- Identify relevant classes that are involved in this use case.
- Organize these classes horizontally, in the order of function calls.
- Define the interactions, showing which methods are being called and on which objects.
- Check cohesiveness – ensure clear communication between objects.
- Iterate and refine – update the Use Case Diagram and the Class Diagram if new attributes or methods are needed.
- First, create the Use Case Diagram and the Class Diagram.
- Then, create the Sequence Diagram for a use case.
- While drawing the Sequence Diagram, check if additional attributes or methods are needed.
- Update the Use Case Diagram and the Class Diagram if necessary.
- Repeat the process iteratively.
- Milestones define major checkpoints in development.
- Each milestone should have a deliverable (e.g., a working module, a completed document).
- Tracking ensures progress – regularly compare estimated vs. actual effort.
- Estimation is key – tasks should be broken into manageable chunks (typically 1-2 weeks in a real-world project).
- Key Terms
- Critical Path – The shortest sequence of dependent tasks that determine the project's completion time.
- Feature Creep – The tendency to add unnecessary features beyond the original requirements.
Today's lecture was about to necessities of solid UML diagrams and planning the project/milestone. So as a summary: the Use Case Diagram and the Class Diagram come first, then Sequence Diagrams are created based on them. All designs should be traceable to the requirements. Planning, tracking, and iterative refinement ensure successful project delivery. Sequence Diagrams help identify missing attributes/methods, leading to necessary updates in the Use Case Diagram and the Class Diagram.
- Links for this week's materials:
- Celil Özkan (Backend)
- Cem Sarpkaya (Backend)
- Özgür Savaşçıoğlu (Backend)
- Ahmet Hacıoğlu (Frontend)
- Ahmet Selçuk Ersoy (Frontend)
- Bahadır Demirel (Frontend)
- Muhammed Ekinci (Frontend)
- Ali Gökçek (Mobile)
- Seyit Mustafa Demir (Mobile)
- Meeting Agenda 1
- Meeting Agenda 2
- Meeting Agenda 3
- Meeting Agenda 4
- Meeting Agenda 5
- Meeting Agenda 6
- Meeting Notes 1 (16.02.2025)
- Meeting Notes 2 (24.02.2025)
- Meeting Notes 3 (27.02.2025)
- Meeting Notes 4 (04.03.2025)
- Meeting Notes 5 (06.03.2025)
- Meeting Notes 6 (13.03.2025)
- Meeting Notes 7 (17.03.2025)
- Meeting Notes 8 (21.04.2025)
- Meeting Notes 9 (28.04.2025)
- Meeting Notes 10 (01.05.2025)
- Meeting Notes 11 (06.05.2025)
- Lecture Notes 1 (13.02.2025)
- Lecture Notes 2 (20.02.2025)
- Lecture Notes 3 (27.02.2025)
- Lecture Notes 4 (06.03.2025)
- Lecture Notes 5 (13.03.2025)
Click to Expand ⬇️
- Scenario 1 - User Register
- Scenario 2 - Dietitian Register
- Scenario 3 - User Login
- Scenario 4 - User Deletion
- Scenario 5 - Upload & Edit Recipe
- Scenario 6 - Single Meal Planning
- Scenario 7 - Grocery Price Comparison
- Scenario 8 - Community Forum
- Scenario 9 - Recipe Discovery & Filter
- Scenario 10 - Local Food Discovery
- Scenario 11 - Nutritional Guidance Interaction
- Scenario 12 - Market Inventory Management
- Scenario 13 - Profile Management and Preference Settings
- Scenario 14 - Rate and Comment the Recipe by User
- Scenario 15 - Bookmark a Meal and Access it in Profile Page
- Scenario 16 - Adding Nutrition Tips to a Dietitian Profile
- Scenario 17 - User Forget Password
- Scenario 18 ‐ User Follows Unfollows Users
- Scenario 19 - Allergen Alert and Meal Plan Adjustment
- Scenario 20 - Dietitian Rating of a Recipe