The document discusses different data modeling approaches for complex domains like biology and comics. It notes that relational databases struggle with hierarchical data, while graph databases are well-suited for modeling relationships and connectivity. Document databases allow embedding related data and working with semi-structured documents. The document recommends using the database approach that best matches each domain's data structure and access patterns.
69. class Question
include MongoMapper::Document
key :number, Integer, :required => true
key :text, String, :required => true
many :choices
end
class Choice
include MongoMapper::EmbeddedDocument
key :text, String, :required => true
end
81. Animalia
...
Felidae
subfamilyof
genusof Panthernae
genusof
Panthera
speciesof
tigris
member
001
age name weight
3 Wanda 300
82. Animalia
...
Felidae
subfamilyof
genusof Panthernae
genusof
Panthera
species speciesof
type
tigris
010
name
tigris member
001
age name weight
3 Wanda 300
83. Group IV
orderof
Picornavirales
familyof
Picornaviridae
genusof
Rhinovirus
speciesof
human
rhinovirus A
member
002
84. class Mammalia Group IV group
orderof orderof
Carnivora Picornavirales
familyof familyof
Felidae Picornaviridae
subfamilyof
Panthernae genusof genusof
genusof
Panthera Rhinovirus
speciesof speciesof
human
tigris
rhinovirus A
member member
001 002
85. DC
imprintof
titleof DC Universe
Green titleof
001
Lantern nameof
genreof
volumeof genreof
Volume 1 Sci Fi
Superhero
genreof
issueof genreof
002 precedes Issue #2
number coverof
#1 003
93. Tag Tag Post
General Life 1ec8264
Work Food 1ec8264
Fitness Writing bae294a
Life
Food
Writing {
‘title’:‘I Love Cheese’
Family ‘content’:‘Cheese is...’
‘posted’:’24 Sept 2009’
‘comments’:[{
‘author’:‘Joe Schmoe’
‘posted’:’24 Sept 2009’
‘content’:‘First!’
}, {...}]
}
98. Thank You
ben sco eld - @bsco eld
http://bensco eld.com
http://www.viget.com/extend
http://www.speakerrate.com/bsco eld
Notes de l'éditeur
bad diagram - self-referential join in taxon table
TIGON - Tiger + Lioness
Ernst Mayr: “groups of actually or potentially interbreeding natural populations, which are reproductively isolated from other such groups”
tomatoes - hybrids & heirlooms
PLUOT
Plum + Apricot
Caminalcules (from Camin and animalcule) are a group of animal-like life forms invented by Professor Joseph H. Camin (University of Kansas) as a tool for understanding phylogenetics. Interested in how taxonomists group species, he designed these creatures to show an evolutionary pattern of divergence and diversification in morphology. There are 29 recent 'species' of Caminalcules and 48 fossil forms.
bad diagram - self-referential join in taxon table
problems with cladistics: historical change is hard to see, and cladistics gives you CRAZY counter-intuitive results
this is a little naive - titles can change imprints; in some cases, retroactively