wiki:InstructionsP1

Version 1 (modified by vangel.ajanovski, 22 hours ago) ( diff )

--

Create an ER diagram for the database of your project.

The recommended software for creating ER diagrams is TerraER (the software is open and freely available from the authors, but we recommend using the version compiled by the teacher with additional adjustments available at https://bazi.finki.ukim.mk/resources/Software/), because it directly allows you to draw with one of the notations learned in lectures. Pay attention to which connecting lines you use where. The same software will be required for the exam, so it is a good idea to practice with it. Make sure to use the appropriate types of diagram elements. At this point, we do not recommend other software. If you still decide to use another software, make sure to use the same notation as in TerraER so that there are no misunderstandings.

The ER diagram should correspond to your project description from the previous assignment and include the data requirements that are appropriate for the project described in this way.

The ER diagram must be made correctly according to the notation that has been taught. The most important thing is that each entity set must have a clearly defined primary key, and for the relational connections between the entity sets, foreign keys should not be specified, but only if there are additional attributes. And all the other rules that have been taught.

Arrange the ER diagram to be visually readable and clear:

  • Rearrange the most important entities to clearly visible positions
  • Rearrange the relationship lines so that they do not cross too much and are not too jagged
  • Use shorter and more precise names, the names of entity sets are always plural
  • Since the presentations and consultations will be in electronic form, save as much space as possible in the diagram so that there is no need to do a lot of "zooming" and a lot of "scrolling" to read and explain the diagram

TerraER saves in XML format, do not forget to put an .xml extension to the file so that it can be processed and displayed correctly.

Expect that there will be many changes to the ER diagram. Keep all versions, naming them as follows: ERModel_v01.xml, ERModel_v02.xml, ...

Create a Wiki page in your project site called ERModel (be careful with capitalization). Link it to the contents of the front page in Phase P1.

Attach all the different versions of the ER diagram as files to the ERModel page both as original source format (ERModel_v01.xml, ERModel_v02.xml, ...) and also attach an exported image of each of the versions of the ER diagram in PNG format under the names (ERModel_v01.png, ERModel_v02.png, ...)

The ERModel wiki page should be created according to the following template:


ERModel Current version

Diagram

Image in PNG format of the latest version of the diagram (ERModel_vNN.png)

Data requirements

List all entities and relationships with the following information for each of them

  • Entity/relationship name: one paragraph of explanation, what does the entity/relationship represent, why it is needed, why is it modeled the way it is
    • Candidate keys: If you have multiple candidates for the primary key, list them and explain which one you chose as the primary key and why you chose it as the primary key
    • List of entity attributes, for each of them:
      • the data type (numeric/text/date/...) and whether there are any restrictions in the input form/format (required/optional, special format, value interval, ...)

ERModel History

List of each version, with a one-sentence explanation of what was new, i.e. what was corrected in that version compared to the previous one. If you made the correction at the request of the teacher/assistant based on a ticket posted in the system, you can link to the ticket instead of an explanation


Note: See TracWiki for help on using the wiki.