Skip to content

Commit 58dbf1b

Browse files
committed
fix: remaining HTML entities and wrong quotation marks
1 parent 4cb818a commit 58dbf1b

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

content/data-storage/er-model/index.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ tags:
3333
- diagram of entity types with their attribute types and their relationship types, usually drawn as boxes and lines
3434
- beware: the diagram is drawn for the abstract types, it really "exists" only for the concrete instances ❗️
3535

36-
![Person entity type and "has" relationship to Birthday entity type](er1.svg)
36+
![Person entity type and 'has' relationship to Birthday entity type](er1.svg)
3737

3838
- can think of entity types as nouns and relationship types as verbs, e.g. person owns car, car is owned by person
3939
- beware: a relationship label can be read in one direction only, the other direction is obtained by turning the verb into passive voice
@@ -53,15 +53,15 @@ tags:
5353
- always combines two symbols, the inner component represents the minimum, the outer component represents the maximum, from the point of view of the given entity
5454
- makes only sense for the following combinations: the symbol `||` means exactly one, `o{` means zero or more, and `|{` means one or more, for cardinality from left entity to right
5555

56-
![Person entity type and "has" relationship to Birthday entity type with cardinality one](er2.svg)
56+
![Person entity type and 'has' relationship to Birthday entity type with cardinality one](er2.svg)
5757

58-
![Person entity type and "has" relationship to Book entity type with cardinality zero or more](er3.svg)
58+
![Person entity type and 'has' relationship to Book entity type with cardinality zero or more](er3.svg)
5959

6060
- beware: if wants to be able to version the data, needs to keep the cardinality of a relationship at one and have many duplicated entities with the same content, instead of having a single entity that many otherwise unrelated entities link to, e.g. `Person ||has|| Birthday`, `Person ||has|| Age`, `Person ||has|| Address`, `Person ||has|| Nationality`, instead of `}|has||` or `Person ||has|{ Book` instead of `}|has|{` etc. ⚠️
6161

62-
![Person entity type and "has" relationship to Birthday entity type with cardinality one but reverse zero or more](er2bad.svg)
62+
![Person entity type and 'has' relationship to Birthday entity type with cardinality one but reverse zero or more](er2bad.svg)
6363

64-
![Person entity type and "has" relationship to Book entity type with cardinality zero or more but reverse also zero or more](er3bad.svg)
64+
![Person entity type and 'has' relationship to Book entity type with cardinality zero or more but reverse also zero or more](er3bad.svg)
6565

6666

6767

content/data-storage/graph-databases/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Use attributes otherwise
105105
Use nodes if wants to connect two more than two entities
106106
Use relationship otherwise
107107

108-
Use fine grained relationships names, checking attributes on target mode is more expensive, e.g. Person located_home Address instead of Person located Address {type: home}
108+
Use fine grained relationships names, checking attributes on target mode is more expensive, e.g. Person located_home Address instead of Person located Address `{type: home}`
109109
Eliminates graph travels, faster performance
110110
Put complex attributes with multiple attributes in own nodes, e.g. Address
111111

content/data-storage/traditional-databases/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ tags:
2121
- each column (field) in the table represents an attribute type of that entity type, e.g. unique identifier (primary key) in first column
2222
- relationships between entities are implicitly encoded using attributes, "foreign key" attribute contains primary key of entity that is related to
2323

24-
![Person entity type with birthday attribute and "use" relationship to Birthday entity type with cardinality one](er4.svg)
24+
![Person entity type with birthday attribute and 'use' relationship to Birthday entity type with cardinality one](er4.svg)
2525

2626
- the relationship can be labeled "uses", is usually not labeled since it is always the same
2727
- the cardinality of a relationship must be at least one, otherwise the attribute would be empty
2828
- if the cardinality is higher than one, the attribute must be an array, since it can contain multiple instances ❗️
2929

30-
![Person entity type with phone attribute array and "use" relationship to Phone entity type with cardinality one or more](er5.svg)
30+
![Person entity type with phone attribute array and 'use' relationship to Phone entity type with cardinality one or more](er5.svg)
3131

3232
- schema-fixed: data must have fixed structure, column of table forces nodes to have the same attribute types, can not add / remove attributes only for some entities without changing other ones
3333

content/the-web/http-cache/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ tags:
164164
- beware: if does cache "external" resource risks breakages due to incompatibilities from mixing of new and old versions of interdependent resources ⚠️
165165
- cache personalised responses at most in private cache, e.g. profile page, etc.
166166
- beware: never cache personalised responses in public cache, otherwise second client can see response for first ❗️
167-
- usually caches only responses with certain status codes, e.g. < 500 because server error is not normal
167+
- usually caches only responses with certain status codes, e.g. &lt; 500 because server error is not normal
168168
- beware: caching and not caching a resource doesn't correspond to a static / dynamic Web server, e.g. can statically serve a changing resource, can dynamically serve a non-changing resource ❗️
169169

170170

0 commit comments

Comments
 (0)