summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected
diff options
context:
space:
mode:
authorwei <>2007-05-03 04:28:24 +0000
committerwei <>2007-05-03 04:28:24 +0000
commitbe91933546f29b5434b4d0ac1f54e51da3fbe4a9 (patch)
tree20f0142be48a6ec9589621856cc6bf50ab3e9c2f /demos/quickstart/protected
parentea9e7eb535b460218b693d4e5fec80297eb3e360 (diff)
ar docs
Diffstat (limited to 'demos/quickstart/protected')
-rw-r--r--demos/quickstart/protected/pages/Database/ActiveRecord.page13
-rw-r--r--demos/quickstart/protected/pages/Database/ar_objects.pngbin14323 -> 19328 bytes
-rw-r--r--demos/quickstart/protected/pages/Database/ar_objects.vsdbin183296 -> 184832 bytes
-rw-r--r--demos/quickstart/protected/pages/Database/ar_relations.pngbin9278 -> 9693 bytes
-rw-r--r--demos/quickstart/protected/pages/Database/ar_relations.vsdbin97280 -> 98304 bytes
5 files changed, 13 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Database/ActiveRecord.page b/demos/quickstart/protected/pages/Database/ActiveRecord.page
index 967aae89..99c7acf8 100644
--- a/demos/quickstart/protected/pages/Database/ActiveRecord.page
+++ b/demos/quickstart/protected/pages/Database/ActiveRecord.page
@@ -424,6 +424,19 @@ that supports foreign key contraints. For ActiveRecord relationships to function
underlying database must support foreign key constraints (e.g. MySQL with InnoDB).
</p>
+<p>
+In the following sections we shall consider the following entity relationship between
+<tt>Teams</tt>, <tt>Players</tt>, <tt>Skills</tt> and <tt>Profiles</tt>.
+</p>
+<img src="<%~ ar_relations.png %>" class="figure" />
+
+
+<p>The goal is to obtain object models that represents to some degree the entity
+relationships in the above figure.
+</p>
+
+<img src="<%~ ar_objects.png %>" class="figure">
+
<h2>Foreign Key Mapping</h2>
diff --git a/demos/quickstart/protected/pages/Database/ar_objects.png b/demos/quickstart/protected/pages/Database/ar_objects.png
index 027d1e96..4171892c 100644
--- a/demos/quickstart/protected/pages/Database/ar_objects.png
+++ b/demos/quickstart/protected/pages/Database/ar_objects.png
Binary files differ
diff --git a/demos/quickstart/protected/pages/Database/ar_objects.vsd b/demos/quickstart/protected/pages/Database/ar_objects.vsd
index 595b7d86..5b3ce4d7 100644
--- a/demos/quickstart/protected/pages/Database/ar_objects.vsd
+++ b/demos/quickstart/protected/pages/Database/ar_objects.vsd
Binary files differ
diff --git a/demos/quickstart/protected/pages/Database/ar_relations.png b/demos/quickstart/protected/pages/Database/ar_relations.png
index df72823c..48e29f48 100644
--- a/demos/quickstart/protected/pages/Database/ar_relations.png
+++ b/demos/quickstart/protected/pages/Database/ar_relations.png
Binary files differ
diff --git a/demos/quickstart/protected/pages/Database/ar_relations.vsd b/demos/quickstart/protected/pages/Database/ar_relations.vsd
index 9b27e7e3..7cb353fe 100644
--- a/demos/quickstart/protected/pages/Database/ar_relations.vsd
+++ b/demos/quickstart/protected/pages/Database/ar_relations.vsd
Binary files differ