ΟΙΚΟΝΟΜΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΑΘΗΝΩΝ ΤΜΗΜΑ ΔΙΟΙΚΗΤΙΚΗΣ ΕΠΙΣΤΗΜΗΣ ΚΑΙ ΤΕΧΝΟΛΟΓΙΑΣ Σχεδίαση Συστήματος Κατερίνα Πραματάρη
Διαφορετικοί τύποι έργων ανάπτυξης λογισμικού Μικρή εφαρμογή, ανάπτυξη από την αρχή, σχετικά ξεκάθαρες απαιτήσεις Μεγάλη εφαρμογή, ανάπτυξη από την αρχή, λιγότερο ξεκάθαρες απαιτήσεις Επέκταση υπάρχουσας μεγάλης εφαρμογής... Η κάθε ανάπτυξη συνεπάγεται διαφορετικό ρίσκο, απαιτεί διαφορετική προσέγγιση σχεδίασης
Rational Unified Process (RUP) Είναι μία προσέγγιση για την ανάπτυξη εφαρμογών Μία καλά δομημένη και ορισμένη διαδικασία τεχνολογίας λογισμικού Ευρέως διαδεδομένη και καθιερωμένος τρόπος με τον οποίο εργάζονται πολλά από τα software houses διεθνώς Reference: (2003)
Ο κύκλος ανάπτυξης στη RUP κύκλος ανάπτυξης επανάληψη φάση έναρξη εμβάθυνση κατασκευή μετάβαση milestone release final release
Οι δύο διαστάσεις της RUP
Επαναληπτική Διαδικασία Το Μοντέλο Spiral
Ρίσκο σε σχέση με την προσέγγιση
Τύποι Σχεδίων/ Μοντέλων ανάλογα με τη φάση Ανάπτυξης
Ρίσκο/ Κόστος Αλλαγής ανάλογα με τη Φάση Ανάπτυξης
Η Σχεδίαση Επηρεάζει Σημαντικά Μη-Λειτουργικές Απαιτήσεις Επεκτασιμότητα συστήματος (scalability) o Πόσο το σύστημα μπορεί να επεκταθεί με νέες λειτουργίες Ασφάλεια συστήματος o Αν μπορεί να ελεγχεί η πρόσβαση του χρήστη σε επιμέρους λειτουργίες o Ένα n-tier σύστημα είναι λιγότερο προσβάσιμο σε κακόβουλους χρήστες Απόδοση-ταχύτητα συστήματος o Συνολικός αρχιτεκτονικός σχεδιασμός o Σχεδίαση βάσης δεδομένων και ταχύτητα απόκρισης σε επερωτήσεις
Άλλα θέματα που σχετίζονται με σχεδίαση Η σχεδίαση επηρεάζει σημαντικά τη δυνατότητα συντήρησης του συστήματος Η σχεδίαση επηρεάζει σημαντικά τον τρόπο που μπορεί να επιμεριστεί η δουλειά σε μία ομάδα ανάπτυξης Η σχεδίαση αποτελεί από μόνη της μέρος της τεκμηρίωσης του τρόπου ανάπτυξης Η σχεδίαση μπορεί να διαφέρει σημαντικά ανάλογα με τις τεχνολογίες που χρησιμοποιούνται για ανάπτυξη του συστήματος
Παράδειγμα Use Case Diagram Supplier s Marketing Manager Create the annual in-store promotions plan Retailer s Buyer Supplier s Trade Marketing Manager Set the parameters of a specific promotional event Retailer s Promotions Coordinator
Παράδειγμα Περιγραφή Use Case Use Case 3.1 Brief Description Actors Create the annual in-store promotions plan Before the beginning of the year, the retailer wants to be able to insert into the system the annual in-store promotions plan on a predetermined template that includes all the promotional activities for each time interval (e.g. fifteen days, months). Based on the retailer s annual in-store plan, the supplier declares its intention to place a promotion within a specific time interval. Supplier s Trade Marketing Manager, Retailer s Buyer, Retailer s Promotions Coordinator Basic Flows Tasks Data The Retailer s Promotions Coordinator before the beginning of each year inserts his company s annual in-store promotion plan based on a predefined template. The Retailer s Promotions Coordinator is able to edit his company s annual in-store promotion plan. The system updates the specific retailer s annual plan (creating a code for each time interval) The Supplier s Trade Marketing Manager has access to each individual retailer s annual plan In-store promotions Annual plan Time interval (from x day to y day, duration) promotion type available promotion type deadline for the supplier to notify about the promotion he wants In-store promotions Annual plan Time interval (from x day to y day, duration) promotion type available promotion type deadline for the supplier to notify about the promotion he wants (date) Code for each time interval In-store promotions Annual plan
Παράδειγμα Περιγραφή Use Case Use Case 3.2 Set the parameters of a specific promotional event Brief Description Actors This use case states the actions taken by the supplier and retailer in order to book a specific instore promotion event including specific details. Supplier s Trade Marketing Manager, Retailer s Buyer, Retailer s Promotions Coordinator Basic Flows Tasks Data Alternative Flows The Supplier s Trade Marketing Manager enters to specific retailer s annual plan and selects a specific time interval The Supplier s Trade Marketing Manager confirms the book of event The Retailer s Buyer confirms the book of event Tasks The Retailer s Buyer does not confirm the book of event In-store Promotions Annual plan Data The system sends a report to the Supplier s Trade Marketing Manager regarding the rejected promotion Report that includes a notification of the rejected booking
Παράδειγμα: Data View Entity Relationship Diagram
Παράδειγμα: Sequence Diagram Create Annual Promotion Plan
Παράδειγμα: Sequence Diagram Monitor Promotion Launch
Class-Module Diagram
Σχήμα_Κεφ08_01
Σχήμα_Κεφ08_10
Σχήμα_Κεφ08_14
Σχήμα_Κεφ08_15
Σχήμα_Κεφ08_17
Σχήμα_Κεφ08_18
Σχήμα_Κεφ08_21
Σχήμα_Κεφ08_22