12/6/2012ISC329 Isabelle Bichindaritz1 The Dreamhome Online Real- estate Company Management System.

Slides:



Advertisements
Similar presentations
Database Design: ER Modelling
Advertisements

THREE KINGS MANAGEMENT SYSTEM Kelvin Canela Care Bear Inc.
Logical Database Design
Group X7 – Year 2010/2011 – First Year Team Project.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
1 Methodology : Conceptual Databases Design © Pearson Education Limited 1995, 2005.
Methodology Logical Database Design for the Relational Model
New Student Orientation Registration System Stephen Nakamura EE496 Preliminary Design Review Fall 2008.
Lecture Fourteen Methodology - Conceptual Database Design
Methodology Conceptual Database Design
Modeling & Designing the Database
LOGICAL DATABASE DESIGN
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Your Oracle Account UserName is the same as your UWP username Followed Not case sensitive Initial Password: UWPstudent Password is case sensitive.
CSC271 Database Systems Lecture # 21. Summary: Previous Lecture  Phases of database SDLC  Prototyping (optional)  Implementation  Data conversion.
Introduction to Databases. Case Example: File based Processing Real Estate Agent’s office Property for sale or rent Potential Buyer/renter Staff/employees.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Relational Model & Relational Algebra. 2 Relational Model u Terminology of relational model. u How tables are used to represent data. u Connection between.
Csc122 - Term Project Presentation, Fall 2005 Advanced Personal Organizer 1 Web Database Systems Term Project Presentation Advanced Personal Organizer.
MU Bulletin Board Member: Carol Lim Yi Wang Lei Wen Mentor: John Boyer Programmer/Analyst of MSA/ Student Life.
Chapters 17 & 18 Physical Database Design Methodology.
Methodology - Conceptual Database Design Transparencies
Methodology Conceptual Databases Design
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
9/10/2012ISC 329 Isabelle Bichindaritz1 Entity Relationship (E-R) Modeling.
1 CS U430: Database Design Spring 2006 Panfeng (Tony) Zhou.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
9/19/2012ISC329 Isabelle Bichindaritz1 Conceptual Data Modeling.
CSC271 Database Systems Lecture # 12. Summary: Previous Lecture  Row selection using WHERE clause  WHERE clause and search conditions  Sorting results.
10/3/2012ISC329 Isabelle Bichindaritz1 Logical Design.
12/3/2012ISC329 Isabelle Bichindaritz1 PHP and MySQL Advanced Features.
CAKEPHP Blog tutorial. what you’ll need examples/blog/blog.html 2  A running web server  A database server.
Physical Database Design
SQL Structured Query Language Programming Course.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
Chapter 9 Methodology - Logical Database Design Chapter 16 in Textbook.
CSCI 3140 Module 3 – Logical Database Design for the Relational Model Theodore Chiasson Dalhousie University.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
Methodology: Conceptual Databases Design
DATABASE MGMT SYSTEM (BCS 1423) Chapter 5: Methodology – Conceptual Database Design.
Team Dosen UMN Database Design Connolly Book Chapter
© Pearson Education Limited, Chapter 9 Logical database design – Step 1 Transparencies.
Conceptual Database Design
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
10/10/2012ISC239 Isabelle Bichindaritz1 Physical Database Design.
Chapter 8 Methodology - Conceptual Database Design Chapter 15 in Textbook.
Methodology - Conceptual Database Design
SQL Basics. 5/27/2016Chapter 32 of 19 Naming SQL commands are NOT case sensitive SQL commands are NOT case sensitive But user identifier names ARE case.
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
CS 3630 Database Design and Implementation. Database Schema Branch (Bno…) Staff (Sno…Bno) Owner (Ono…) PropertyForRent (Pno…Ono) Renter (Rno…) Viewing.
Dr. Venton Kepuska Donald L. Troup. Dynamic Web Calendar
Modelling Methodologies Chapter 16, 17, 18. Modeling Methodologies2 Database Design Physical DB design Logical DB design Conceptual DB design Hardware.
B. Information Technology (Hons.) CMPB245: Database Design Physical Design.
Introduction to MySQL Ullman Chapter 4. Introduction MySQL most popular open-source database application Is commonly used with PHP We will learn basics.
Web Application Design. Data –What data is available? –How do we store it or how is it stored in the DB? Schema Data types Etc. –Where is the data?
MADAN MOHAN MALAVIYA ENGINEERING COLLEGE,GORAKHPUR Submitted by: TANUJA SRIVASTAV ( ) Submitted To: Mrs. Meenu Assistant professor CSE Department.
CS320 Web and Internet Programming SQL and MySQL Chengyu Sun California State University, Los Angeles.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Teacher Workshop Database Design Pearson Education © 2014.
Methodology Conceptual Databases Design
CS320 Web and Internet Programming SQL and MySQL
Methodology Conceptual Database Design
CS 3630 Database Design and Implementation
Conceptual Database Design
Logical Database Design
Methodology Conceptual Databases Design
CS3220 Web and Internet Programming SQL and MySQL
CS3220 Web and Internet Programming SQL and MySQL
Presentation transcript:

12/6/2012ISC329 Isabelle Bichindaritz1 The Dreamhome Online Real- estate Company Management System

2 Agenda Project overview Conceptual data model –Use case diagram –Class diagram Logical data model Physical data model Database application Lessons learned 12/6/2012ISC329 Isabelle Bichindaritz

3 Project Overview Dreamhome is a real-estate company with several branches over Scotland. It manages owners’ properties and rents them to clients. The staff at Dreamhome comprise managers, supervisors, and assistants. A manager is responsible for the day-to-day running of a branch. Users of the system will be mostly managers and staff. 12/6/2012ISC329 Isabelle Bichindaritz

4 Conceptual Data Model The goal of the conceptual database design is to construct a model of the data used in an application, independent of physical considerations. We also want to describe how the data is going to be used by the database system users – what kind of functionality the database application is going to provide to the users. 12/6/2012ISC329 Isabelle Bichindaritz

5 Use Case Diagram 12/6/2012ISC329 Isabelle Bichindaritz Supervisor

6 Class Diagram 12/6/2012ISC329 Isabelle Bichindaritz

7 Logical Data Model The goal of logical database design is to construct a data model for an application based on a particular data model, but independent of a particular DBMS and other physical considerations. The Dreamhome database will be built using the relational data model. We also want the database to be operational both in MS Access and in MySQL. 12/6/2012ISC329 Isabelle Bichindaritz

8 Logical Data Model Steps: –Build user views –Build local data models –Merge local data models to build a global data model (view integration). –The result of logical data modeling is a set of normalized relations in 3 rd normal form. 12/6/2012ISC329 Isabelle Bichindaritz

9 Logical Data Model Example: Staff Listing view and its local data model Branch(branchNo, street, city, address) Staff(staffNo, fName, lName, position) 12/6/2012ISC329 Isabelle Bichindaritz

10 Logical Data Model 12/6/2012ISC329 Isabelle Bichindaritz

11 Physical Data Model The goal of physical database design is to produce a description of the implementation of the database in a DBMS. The database was created in MS Access and later migrated to MySQL and is operational in both DBMSs. MS Access database is more suited for in- house use while MySQL is more suited for Web-based applications. 12/6/2012ISC329 Isabelle Bichindaritz

12 Physical Data Model 12/6/2012ISC329 Isabelle Bichindaritz CREATE TABLE `Viewing` ( `ID` INTEGER NOT NULL AUTO_INCREMENT, `clientID` VARCHAR(5), `propertyNo` VARCHAR(5), `viewDate` DATETIME, `viewHour` VARCHAR(5), `comment` VARCHAR(255), `wishToRent` TINYINT(1) DEFAULT 0, INDEX (`clientID`), INDEX (`ID`), PRIMARY KEY (`ID`), FOREIGN KEY ('clientID') references 'Client'('clientNo'), FOREIGN KEY ('propertyNo') references 'PropertyForRent' ) ENGINE=myisam DEFAULT CHARSET=utf8;

13 Database Application A Web database application has been built using MySQL and PHP. It runs on moxie server with Apache. The part developed is the Manager restricted Staff Management system. Managers login into the system for authentication purposes. 12/6/2012ISC329 Isabelle Bichindaritz

 The Dreamhome Staff Management application lets users:  List the staff working at a branch  Add staff  Update staff information  Delete staff.\  Demo: gin.php gin.php (username: Brand, password: SG5) Dreamhome Staff Management 12/6/2012ISC329 Isabelle Bichindaritz14

 Files:  login.php (login)  dreamhome.php (general menu)  branch.php (list of staff per branch)  add.php (add staff interface)  add-staff.php (add staff to the database)  delete.php (delete staff interface)  delete-staff.php (delete staff from the database)  update.php (update staff interface)  update-staff.php (update staff from the database)  logout.php (logout)  functions.php (all functions called by the other pages) Dreamhome Staff Management 12/6/2012ISC329 Isabelle Bichindaritz15

Dreamhome Staff Management 12/6/2012ISC329 Isabelle Bichindaritz16 login.phpdreamhome.phpbranch.phpadd.php add- staff.php update.php update- staff.php delete.php delete- staff.php

 Lessons learned … Conclusion 12/6/2012ISC329 Isabelle Bichindaritz17