A Powerpoint - Herefordshire and Ludlow...

22
2015-2016

Transcript of A Powerpoint - Herefordshire and Ludlow...

Page 1: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

2015-2016

Page 2: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Phil Smith

Page 3: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Learning outcomesOn successful completion of this unit you will:

1. Understand data models and database technologies. (Assignment 1)

2. Be able to design and implement relational database systems . (Assignment 2)

3. Be able to use manipulation and querying tools . (Assignment 2)

4. Be able to test and document relational database systems. (Assignment 3)

More detail on the wiki.

Page 4: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Assessment - PassLets review the assessment criteria. (wiki)http://wiki.computing.hct.ac.uk/computing/procedural_programming

Pass criteria.

All units must achieve at least a pass in order to claim the Higher National Diploma.

Page 5: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Assessment - Merit

You will have at least two

opportunities to achieve each merit.

Page 6: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Assessment - Distinction

You will have at least two

opportunities to achieve each distinction.

Page 7: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Assignments 3 assignments.

Issue in lesson time, due two weeks on Sunday.

Formative feedback available in lesson prior to submission deadline.

Page 8: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Structure 1.5 hours of lectures – approx.

1.5 hour of tutorial/lab (approx.),

Lab work will mostly be individual and in small groups.

Independent research.

Additional independent study.

Page 9: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Resources

Lectures.

Books (in lab).

Books in LRC.

Internet, you have internet access.

Periodicals etc.

Page 10: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Environment Windows 10:

Office 2013 (Excel)

MySql on hosting site.

MySql locally using xampp.

Sql Express 2014.

Visual studio 2015

SQL Server Management Studio.

Page 11: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

EnvironmentLanguage.

Structured Query Language.

SQL (Pronounced sequel).

DDL

DML

Page 12: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Schedule - Information requirements.

Data analysis (type).

Sample data (in excel).

Legal requirements for websites (e-commerce).

Data design. (ERD)

Normalisation.

Implementation (MySql, Sql Server).

Queries. Stored procedures.

Views.

Page 13: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Start So what is unit 33 all about.

Understanding data (Analysis)

Designing databases.

Implementing databases.

Testing databases.

Page 14: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Start What is a database?

A database is a collection of information organized to provide efficient retrieval.

A database could be as simple as an alphabetical arrangement of names in an address book or as complex as a database that provides information in a combination of formats.

Page 15: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Databases Research Task 1.

In pairs, present information on the following –

1. Hierarchical database, what is was/is, how it worked.

1. Give an example.

2. Network database, what is this?

1. Provide a clear set of facts and information.

3. Relational Database.

4. Finally, who was Edgar Frank "Ted" Codd? What is he remembered for?

Page 16: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Learning outcome 1

LO1 - Understand data models and database technologies.

Data models: Hierarchical; Network; Relational; data manipulation languages; data definition

languages; data independence; data redundancy issues; data integrity; schema; e.g. tables

fields relationships, views, indexes; conceptual scheme; physical scheme, data dictionary.

Page 17: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Your website We are going to design and build a database to hold all the

information required for your website produced last year.

Mobile phone cases in wood.

Task 1.

Find your website from unit 14 website design.

Make sure it still runs.

Long term plan is to change your static website to a dynamic website and in semester 2, we shall be combining your static web pages with your database and create a new dynamic website.

Page 18: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Identify information requirements Task 2.

Identify from your website the information requirements.

Start making a list of the data you need, include a suggested data type and size.

Page 19: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Your website A number of different laws apply to –

websites,

the content on them

and online sales

which are set out in the Consumer Protection (Distance Selling) Regulations 2005 (as amended)

and the E-Commerce Regulations 2002 which have been summarised below.

Page 20: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Your website1. Company Information

2. Contact Information

3. Online Sales

4. Other Laws

1. In addition to the E-Commerce Regulations and the Distance Selling Regulations other laws such as the Unfair Contract Terms Act 1977, the Business Names Act 1985, the Unfair Terms in Consumer Contracts Regulations 1999, the Sale of Goods Act 1979 and the new EU Consumer Rights Directive will apply to your website and sales made online

Page 21: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

Your website Task 3.

Research the legal data requirements for your e-commerce website.

Add the additional data requirements to your data dictionary.

Page 22: A Powerpoint - Herefordshire and Ludlow Collegewiki.hct.ac.uk/_media/computing/hnd/hndu33lecture01.pdfYour website We are going to design and build a database to hold all the information

What have we learnt today?

Basic operation information requirements.

Legal information requirements.

Hierarchical databases.

Network databases.

Relational database definition.