Yearly Archives: 2016

Good and bad modelling (#12)

By |2018-04-09T17:22:48+10:00October 21st, 2016|Modelling principles, Newsletter|

We have now looked at the background of data modelling and where it all began. Clay tablets, lists, books and now databases. But behind all of these is the need to model the data in a way that makes it easy to use. In this way, data modelling is both a simple and complex area [...]

Data Modelling Connection Types – Summary (#11)

By |2017-09-11T21:21:43+10:00October 13th, 2016|Newsletter|

We have reviewed data modelling connection types over the past several weeks (see Connections) and seen that a few simple names can describe different types of connections in a general way: One-to-one (mandatory or optional). One-to-many (see One-to-many-relationships). Many-to-one. Many-to-many (see Many-to-many relationships). […]

Many-to-many relationships (#10)

By |2018-04-09T17:25:59+10:00October 6th, 2016|Newsletter|

A many-to-many relationship is also best shown by example. One author can write many books – this is a one-to-many relationship. However, one book can also have many authors. Putting these two facts together, we see a many-to-many relationship. Two “one-to-many” relationships in opposite directions. Since this is not always easy to understand, let’s look [...]

Optional one-to-one relationships (#8)

By |2018-03-26T12:39:02+11:00September 22nd, 2016|Newsletter|

Optional one-to-one relationships Optional one-to-one relationship are more common than mandatory one-to-one relationships, both in life and in data modelling. Sometimes an object may be optionally connected to at least one other object. One example is a car, which may be registered or licensed for use on the road or it may be allowed to [...]

Connections (#6-7)

By |2018-03-26T14:02:50+11:00September 16th, 2016|Newsletter|

Types of connections Connections are the most important and difficult things in modelling. Objects only rarely exist with no connections to other objects. The saying “No man is an island”[1] expresses this with regard to people, and other objects are just the same. […]

Simple Data Modelling Example – Table Columns (#5)

By |2017-11-22T14:12:33+11:00September 1st, 2016|Newsletter|

In this article we continue our simple data modelling example.  We have named our database table, and now we need columns to store the information about each pot. Naming columns is another minefield, just like naming tables. All sorts of logic can be applied to avoid naming conflicts and ensure consistency. We will ignore this [...]

Data Modelling – Chickens and Eggs (#3)

By |2018-10-22T23:10:55+11:00August 18th, 2016|Newsletter|

Using a Database The last post looked at what we should model, and the importance of scale and magnitude. Now we need to acknowledge that the data we model will normally be stored in a database. Modelling is the mapping between the real world and the filtered picture of the real world that we wish [...]

Data Modelling – Why and How (#2)

By |2018-10-22T21:35:26+11:00August 12th, 2016|Newsletter|

Surrounded by things All around us are physical things: chairs, tables, computers, walls, doors, people, cars, houses, trees, roads and many other things. How we think about each depends on our point of view. Walls, floors, ceilings, doors and windows make rooms, and houses are made up of rooms. A builder needs to know all [...]

Go to Top