Databases

MANAGE DATA!

AS91892 (DT 2.3)

Using SQL develop a database that can be used for your outcome!


Database Resource Folder

Use advanced techniques to develop a database

This standard follows a Flipped Learning Approach using an Epub file* to help you become a full stack database developer using.

  • PHP: popular general-purpose scripting language that is especially suited to web development.

* Note : Download and open with either Google Extension EPubReader or Thorium Reader

Your database must:

  • allow users to add entries to the database. Your Assessment dataset will include a tab with extra rows of data that can be added to the database by users.

  • ensure that users can’t add obviously incorrect data

  • allow users to query the collection and display information that either answers a question or allows users to make decisions


Resources

Our Project Management tool

91892_Database_Template.pptx

Evidence Slides for Internal

2.3 Database Evidence Document

Evidence Document for Internal

DigiTech-EGT-91892.pdf

NCEA Evidence Template.

Own Learning Resource Documentation Templates (above is the Epub Learning templates)

1. Planning/Implications-Template-v4



2.3-Database-Template-v4



ASSESSMENT STANDARD EXPLAINED

Use advanced techniques to develop a database

Advanced techniques involve (minimum TWO):

  • Linking data in related tables or nodes using queries or keys

  • Writing custom queries to filter and/or sort data

  • Using logical, mathematical and/or wildcard operators

  • Customising presentation of the data

  • Using custom forms to add user input to the database

  • setting validation rules for data entry - JavaScript has a great option to validate too.

Design the structure of the database

Evidence of testing must be supplied showing that adding material to the database worked correctly with screenshots. See Checkpoint 1.

Use appropriate tools and advanced techniques to organise, query and present data for a purpose and end users

  1. Linking data in related tables or nodes using queries or keys

JOIN tables in relational database

  • A relational database is a collection of data items with pre-defined relationships between them. These items are organized as a set of tables with columns and rows. Tables are used to hold information about the objects to be represented in the database.

  • A JOIN is a means for combining columns from one (self-join) or more tables by using values common to each (IDs)

  1. Writing custom queries to filter and/or sort data (group by)

  2. Using logical, mathematical and/or wildcard operators

Presentation of data is on a PHP/HTML Website.

Evidence of testing has been supplied showing that the various queries return the expected results.

Applying appropriate data integrity and testing procedures

Evidence of comprehensive testing has been supplied showing that adding material to the database works correctly and that the various queries return the expected results.

The examples above are indicative samples only

Explain relevant implications

You MUST explain the relevant implications to achieve this standard. See at the bottom of this page for a resource for Relevant Implications for Databases, also see this page.

In an assessment, your implications can be recycled from the practice task provided you make changes where necessary so that your explanations match the outcome you are making.

Implications should include functionality, usability, accessibility, aesthetics, intellectual property and social. Example (The examples above are indicative samples only): Explain ...

  • why copyright/IP needs to be honoured

  • why the database/website needs to be easy to use

  • why the information needs to be accessible.

Use advanced techniques to develop an informed database.

Using information from testing procedures to improve the quality of the database

You have asked a volunteer to test the database and has made improvements/changes based on this testing. Tests were made to ensure that:

  • it is easy to use

  • the display of the output is in a logical order that is easy to read and understand

  • the queries make it easy to filter and extract required data from the database.

The examples above are indicative samples only

Structuring, organising and querying the data logically

*When you set up your entry form, please put each field on a new line. This is different to our original wire-frame design.*

  • We can allow users to add items to the database via a form

  • We can check that user input is validated using html

  • Alternately, responses can be validated using php which gives us more control over the formatting and error messages (this is covered later in this ePub (E)

Addressing relevant implications

For example* (partial evidence):

  • Any images that are used in the outcome are cited in the supporting documentation and are either original artwork or creative commons/public domain images.

  • The information is accessible (e.g. images have alt tags and student has checked that site is readable for colour blind users).

*The examples above are indicative samples only

Use advanced techniques to develop a refined database

Iterative improvement throughout the design, development and testing process

For example* (partial evidence):

They changed data types of some of their fields to ensure all data was using an accurate data type.

They ran a series of test queries and corrected the table structure to ensure the queries could link data from more than one table, including:

  • testing of potential SQL queries that include SELECT and JOIN statements

  • testing of PHP output when using connection and queries.

You carried out usability tests at key points during the creation of the database to ensure that it was fit for purpose and easy to use. They used information from testing at each point to improve and refine the outcome. For instance, they checked that:

  • the input form was easy to use and that the error messages were visible and easy to understand

  • query results were easy to understand

  • searching was easy for users (e.g. users could easily run the queries based on the structure of the data).

*The examples above are indicative samples only

Presenting the data effectively for the purpose and end users

For example* (partial evidence):

There are no grammatical or typographical errors. The layout demonstrates effective application of design principles.

  • The selection/sorting features of the webpage are obvious.

  • The web indicated the current selection/sort being performed by the user.

  • PHP Validation Rules present

*The examples above are indicative samples only