Documente Academic
Documente Profesional
Documente Cultură
Lectures Objectives
Put all the previous lectures into context Learn the main stages of database application development. Use these stages as guidelines for your MSc project (if you choose to undertake a project which involves developing a Database System).
Software Depression
Last few decades have seen a proliferation of software applications, many requiring constant maintenance involving:
correcting faults, implementing new user requirements, modifying software to run on new or upgraded platforms.
Software Depression
Major reasons for failure of software projects include:
- lack of a complete requirements specification; - lack of appropriate development methodology; - poor decomposition of design into manageable components.
Information System
Resources that enable collection, management, control, and dissemination of information throughout an organisation.
Database is fundamental component of I.S., and its development/usage should be viewed from perspective of the wider requirements of the organisation.
Example of a mission statement: The purpose of the database system is to maintain the data that is used and generated to support the property rentals business for our clients and property owners and to facilitate the cooperation and sharing of information between branches.
11
1. Database Planning
Database planning should also include development of standards that govern:
how data will be collected, how the format should be specified, what necessary documentation will be needed
Examples of objectives:
To maintain (enter, update, and delete) data on branches To perform searches on branches To report on branches
13
14
2. System Definition
Describes scope and boundaries of database application and the major user views.
Property Sales
Property Rentals
Staff
Human Resources
Property Advertising
15
16
2. System Definition
User view defines what is required of a database application from perspective of:
a particular job role (such as Manager or Supervisor) or enterprise application area (such as marketing, personnel, or stock control).
17
18
X X
X X X X X
Branch Staff
etc
20
Fact-Finding Techniques
Database developer normally uses several fact-finding techniques during a single database project including:
examining documentation, interviewing, observing organisation in operation, research, questionnaires.
22
Data Requirements:
Branches: The data held on each branch office includes a unique branch number, address (street, city, and postcode) Staff: The data stored on each member of staff includes staff number, name
Transaction Requirements:
Data entry:
Enter the details of a new branch
Data update/deletion:
Update/delete the details of a member of staff at a branch
Data queries:
List the names of staff supervised by a named supervisor
23
24
Types and average number of record search: Networking and shared access requirements:
25
4. Database Design
Major aims:
Represent data and relationships between data required by all major application areas and user groups. Provide data model that supports any transactions required on the data. Specify a minimal design that is appropriately structured to achieve stated performance requirements for the system (such as response times).
28
Security:
The database should be password protected
Legal issues:
Implement UKs law on the computerised storage of personal data (staff, clients and owners).
27
4. Database Design
Three phases of database design:
Conceptual database design Logical database design Physical database design.
5. DBMS Selection
Selection of an appropriate DBMS to support the database application.
Undertaken at any time prior to logical design provided sufficient information is available regarding system requirements. Main steps to selecting a DBMS:
29
define Terms of Reference of study; shortlist two or three products; evaluate products; recommend selection and produce report.
30
6. Application Design
Design of user interface and application programs that use and process the database.
Database and application design are parallel activities. Includes two important activities:
transaction design (e.g., Queries); user interface design (e.g., Forms).
31
32
7. Prototyping
Building working model of a database application.
Purpose
to identify features of a system that work well, or are inadequate; to suggest improvements or even new features; to clarify the users requirements; to evaluate feasibility of a particular system design.
34
9. Testing
Process of executing application programs with intent of finding errors.
Use carefully planned test strategies and realistic data. Testing cannot show absence of faults; it can only demonstrate that database and application programs appear to be working according to requirements.
36
May be possible to convert and use application programs from old system for use by new system.
35
Maintaining and upgrading database application (when required). Incorporating new requirements into database application.
37
38
10