SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.

Slides:



Advertisements
Similar presentations
And so to Code. Forward, Reverse, and Round-Trip Engineering Forward Engineering Reverse Engineering Round-Trip Engineering.
Advertisements

Mark Dixon Page 1 23 – Object Oriented Programming in PhP.
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler
Objects & Object-Oriented Programming (OOP) CSC 1401: Introduction to Programming with Java Week 15 – Lecture 1 Wanda M. Kunkle.
CS 2511 Fall Features of Object Oriented Technology  Abstraction Abstract class Interfaces  Encapsulation Access Specifiers Data Hiding  Inheritance.
1 CS100J 05 February 2005 Today’s topic: Customizing a class (continued) Quiz 1 is today Quiz 2 is next Tuesday Quote for the day: There is no reason anyone.
Data Access Patterns. Motivation Most software systems require persistent data (i.e. data that persists between program executions). In general, distributing.
Test. A software house decides to develop a DVD renting program. The product manager identifies the following requirements: Every DVD will have a title,
Design I: Web Application Architecture and Patterns Peter Dolog dolog [at] cs [dot] aau [dot] dk Intelligent Web and Information Systems September.
1 INF160 IS Development Environments AUBG, COS dept Lecture 13 Title: Classes: Introduction & Review (Extract from Syllabus)
CS 160: Software Engineering October 8 Class Meeting
5.0 Objects First with Java A Practical Introduction using BlueJ Introduction to Computer Science I Instructor: Allyson Anderson.
CS 174: Web Programming September 23 Class Meeting Department of Computer Science San Jose State University Fall 2015 Instructor: Ron Mak
CS 160: Software Engineering October 6 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
Spring 2009Computer Science Department, TUC-N Object Oriented Methods Architectural Patterns 3.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
DEPARTMENT OF COMPUTER SCIENCE & TECHNOLOGY FACULTY OF SCIENCE & TECHNOLOGY UNIVERSITY OF UWA WELLASSA ‏ Visibility Control.
Refactoring: Improving the Design of Existing Code © Martin Fowler, Martin Fowler.
Refactoring II Dealing with Polymorphism. Switch in Rental Switches on Movie! class Rental … public double getCharge() { double result = 0; switch (getMovie().getPriceCode()){
SOEN 6011 Software Engineering Processes Section SS Fall 2007 Dr Greg Butler
1 CS100J 08 September 2005 Today’s topic: Customizing a class (continued) Quote for the day: There is no reason anyone would want a computer in their home.
Elaboration Iteration 3 – Part 3 - Persistence Framework -
Software Engineering Laboratory, Department of Computer Science, Graduate School of Information Science and Technology, Osaka University 1 Extracting Sequence.
Arrays Chapter 7. MIS Object Oriented Systems Arrays UTD, SOM 2 Objectives Nature and purpose of an array Using arrays in Java programs Methods.
ABT1/GUT1/KFT1 Task 4 Prep Diagrams for MediaManager Cynthia Lang, PE, MSChE Pubali Banerjee, PhD IT Course Mentors-Java Assessments.
Refactoring (1). Software Evolution Cope with change Feature bloat Design decay Code duplications “Pattern time is refactoring time” Make future changes.
Chapter No. : 1 Introduction to Java.
Chapter 16 UML Class Diagrams.
CS2006- Data Structures I Chapter 5 Linked Lists I.
CS1222 Using Relational Databases and SQL
Wrapper Classes ints, doubles, and chars are known as primitive types, or built-in types. There are no methods associated with these types of variables.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2005 Instructor: Patrice Chalin.
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler
Translation of ER-diagram into Relational Schema
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
Flash Cards Tab Title 1 This is a sample text, insert your desired text here. Tab Title 2 This is a sample text, insert your desired text here. Tab Title.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2005 Instructor: Patrice Chalin.
CS1222 Using Relational Databases and SQL
Enterprise Architecture Patterns
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2005 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2005 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2005 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2005 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
CS1222 Using Relational Databases and SQL
CS1222 Using Relational Databases and SQL
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
Android Developer Fundamentals V2
A Very Brief Introduction to Relational Databases
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
2009 Test Key.
4 Step Simple Diagram Sample text Sample text Sample text Sample text
SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin.
INHERITANCE.
CS1222 Using Relational Databases and SQL
On to Object Design c. 14.
Presentation transcript:

SOEN 343 Software Design Computer Science and Software Engineering Department Concordia University Fall 2004 Instructor: Patrice Chalin

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,

Midterm Applying GRASP polymorphism principle. This is key! 12/5/2018 SOEN 343, © P.Chalin,

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,

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,

Flash Review Question(s) Provide a definition of dependency (between modules). 12/5/2018 SOEN 343, © P.Chalin,

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,

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,

What Next? Use foundations built up so far. Application domain: web-based enterprise applications. Design patterns. 12/5/2018 SOEN 343, © P.Chalin,

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,

SoenEA Framework & Samples Demo. This is the topic of Tutorial 8. 12/5/2018 SOEN 343, © P.Chalin,

Package structure 12/5/2018 SOEN 343, © P.Chalin,

GetByLastName 12/5/2018 SOEN 343, © P.Chalin,

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,

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,

Page Controller 12/5/2018 SOEN 343, © P.Chalin,