Download presentation
Presentation is loading. Please wait.
Published byBruno Nicholson Modified over 6 years ago
1
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin
2
Agenda – Lecture 8b Final remarks about midterm. Review & renew.
Where are we heading from here? Enterprise Applications: SoenEA framework and samples. Assignment 1 12/5/2018 SOEN 343, © P.Chalin,
3
Midterm Applying GRASP polymorphism principle. This is key!
12/5/2018 SOEN 343, © P.Chalin,
4
Movie Class abstract public class Movie { private String _title;
public Movie(String t) { _title = t; } public String getTitle() {return _title;} abstract public double getCharge(int daysRented); } 12/5/2018 SOEN 343, © P.Chalin,
5
NewRelease Movie public class NewRelease extends Movie {
public NewRelease(String t) { super(t); } public double getCharge(int daysRented){ return daysRented*3; } } 12/5/2018 SOEN 343, © P.Chalin,
6
Flash Review Question(s)
Provide a definition of dependency (between modules). 12/5/2018 SOEN 343, © P.Chalin,
7
Review Question The following questions concern the SQL table named Info with three columns: ID: Integer Name: Text Age: Integer Using the UML class diagram notation, define (a) a Row Data Gateway class to access Info (b) a Table Data Gateway class to access Info. 12/5/2018 SOEN 343, © P.Chalin,
8
Row Data Gateway PersGradeRDG - name : String - grade : int
+ PersGradeRDG(name, grade) + find(name) : PersGradeRDG + insert() : void + update() : void + delete() : void + … getters and setters … Fields – table columns. Finder methods: static. insert, update, delete on instance. 12/5/2018 SOEN 343, © P.Chalin,
9
What Next? Use foundations built up so far.
Application domain: web-based enterprise applications. Design patterns. 12/5/2018 SOEN 343, © P.Chalin,
10
Enterprise Application Patterns
Page Controller Template View Presentation Front Controller Transform View Transaction Script Domain Model Domain Active Record Row Data Gateway Data Mapper Data Source Table Data Gateway 12/5/2018 SOEN 343, © P.Chalin,
11
SoenEA Framework & Samples
Demo. This is the topic of Tutorial 8. 12/5/2018 SOEN 343, © P.Chalin,
12
Package structure 12/5/2018 SOEN 343, © P.Chalin,
13
GetByLastName 12/5/2018 SOEN 343, © P.Chalin,
14
Enterprise Application Patterns
Page Controller Template View Presentation Front Controller Transform View Transaction Script Domain Model Domain Active Record Row Data Gateway Data Mapper Data Source Table Data Gateway 12/5/2018 SOEN 343, © P.Chalin,
15
Presentation Domain Data Source Controller Patterns Page Controller
Template View Presentation Front Controller Transform View Transaction Script Domain Model Domain Active Record Row Data Gateway Data Mapper Data Source Table Data Gateway 12/5/2018 SOEN 343, © P.Chalin,
16
Page Controller 12/5/2018 SOEN 343, © P.Chalin,
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.