quartz/content/notes/system-templates.md
Jet Hughes 8a667e5693 update
2022-05-27 14:12:53 +12:00

1.8 KiB

title aliases tags
system-templates
info201

<% tp.file.cursor(4) %>

System templates

some standard patterns is system design

especially with respect to structural requirements

  • database
  • domain classes
  • names of entites/classes may vary but pattern is the same

broadly similar structures for similar problem domains

  • e.g., retaiol, scheduling, HR
  • main difference mostly is small details

the heirarchy

hierarchy

represents a chian of "containment" relationships

child and parent entities linked by FK (often composite)

examples

  • division, department, employee
  • student, programme enrolment, paper enrollment, assessment result

the associative entity

associative entity example

resolution of a many-to-many relationship

associative entiteis may or may not have additional attributes.

Headers/lines

header line example

more examples

head is associative with one or more other entities.

line is associated with only one thing

parallel header lines

parallel header/lines other examples

second example has more direct association between sale and shipment.

general systems

Point of sale ERD dont always need all of the things booking system ERD inventory system ERD

many more e.g., payroll, scheduling/timetabling, tracking

more examples possibly dated

summary

dont always need to create data model from scratch, need to adapt any template to suit your scenario

dont deinveltht the wheel

revision questions