images and some more deets
Arthur Axel 'fREW' Schmidt [Thu, 3 Jun 2010 01:01:20 +0000 (20:01 -0500)]
img/afewrels.png [new file with mode: 0644]
img/authors.png [new file with mode: 0644]
img/belongsto1.png [new file with mode: 0644]
img/hasmany1.png [new file with mode: 0644]
img/m2m.png [new file with mode: 0644]
slideshow.html

diff --git a/img/afewrels.png b/img/afewrels.png
new file mode 100644 (file)
index 0000000..231bb94
Binary files /dev/null and b/img/afewrels.png differ
diff --git a/img/authors.png b/img/authors.png
new file mode 100644 (file)
index 0000000..1c8c250
Binary files /dev/null and b/img/authors.png differ
diff --git a/img/belongsto1.png b/img/belongsto1.png
new file mode 100644 (file)
index 0000000..a7dcc46
Binary files /dev/null and b/img/belongsto1.png differ
diff --git a/img/hasmany1.png b/img/hasmany1.png
new file mode 100644 (file)
index 0000000..59e757c
Binary files /dev/null and b/img/hasmany1.png differ
diff --git a/img/m2m.png b/img/m2m.png
new file mode 100644 (file)
index 0000000..3219b0d
Binary files /dev/null and b/img/m2m.png differ
index 6235f98..f94f148 100644 (file)
@@ -393,8 +393,17 @@ __PACKAGE__->belongs_to( author =>
    </div>
 
    <div class="slide">
+      <h1>-&gt;deploy</h1>
+      <p>Perl -&gt; DB</p>
+<pre>my $schema = Foo::Schema-&gt;connect($dsn, $user, $pass);
+$schema-&gt;deploy
+</pre>
+<p>See also: <a href="http://search.cpan.org/perldoc?DBIx::Class::DeploymentHandler">DBIx::Class::DeploymentHandler</a></p>
+   </div>
+
+   <div class="slide">
       <h1>Schema::Loader</h1>
-      <p>DB -&gt; Perl vs Perl -&gt; DB</p>
+      <p>DB -&gt; Perl</p>
 <pre>package Foo::Schema;
 use strict; use warnings;
 use base 'DBIx::Class::Schema::Loader';
@@ -607,8 +616,7 @@ sub new {
 
    <div class="slide">
       <h1>a few relationships</h1>
-      (really need picture here)
-      (authors -- author_link_to_book -- books)
+      <img src="img/afewrels.png" />
    </div>
 
    <div class="slide">
@@ -625,6 +633,7 @@ ALTER TABLE `books` DROP `author`;</pre>
 
    <div class="slide">
       <h1>has_many</h1>
+      <img src="img/hasmany1.png" />
    </div>
 
    <div class="slide">
@@ -638,6 +647,7 @@ __PACKAGE__-&gt;has_many( author_and_books =&gt;
 
    <div class="slide">
       <h1>belongs_to</h1>
+      <img src="img/belongsto1.png" />
    </div>
 
    <div class="slide">
@@ -653,10 +663,12 @@ __PACKAGE__-&gt;belongs_to(
 
    <div class="slide">
       <h1>same for Authors</h1>
+      <img src="img/authors.png" />
    </div>
 
    <div class="slide">
       <h1>many_to_many</h1>
+      <img src="img/m2m.png" />
    </div>
 
    <div class="slide">
@@ -740,10 +752,6 @@ $book-&gt;add_to_authors($author_2);</pre>
    </div>
 
    <div class="slide">
-      <h1>in 16 lines of code</h1>
-   </div>
-
-   <div class="slide">
       <h1>errors</h1>
       <p>Read them closely!</p>
    </div>
@@ -770,6 +778,17 @@ $book-&gt;add_to_authors($author_2);</pre>
    </div>
 
    <div class="slide">
+      <h1>LOTS more Features</h1>
+      <ul>
+         <li>FilterColumn</li>
+         <li>Transactions</li>
+         <li>HashRefInflator</li>
+         <li>Subqueries</li>
+         <li>ResultSetColumn</li>
+      </ul>
+   </div>
+
+   <div class="slide">
       <h1>bonus slides!</h1>
    </div>