</div>
<div class="slide">
+ <h1>->deploy</h1>
+ <p>Perl -> DB</p>
+<pre>my $schema = Foo::Schema->connect($dsn, $user, $pass);
+$schema->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 -> Perl vs Perl -> DB</p>
+ <p>DB -> Perl</p>
<pre>package Foo::Schema;
use strict; use warnings;
use base 'DBIx::Class::Schema::Loader';
<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">
<div class="slide">
<h1>has_many</h1>
+ <img src="img/hasmany1.png" />
</div>
<div class="slide">
<div class="slide">
<h1>belongs_to</h1>
+ <img src="img/belongsto1.png" />
</div>
<div class="slide">
<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">
</div>
<div class="slide">
- <h1>in 16 lines of code</h1>
- </div>
-
- <div class="slide">
<h1>errors</h1>
<p>Read them closely!</p>
</div>
</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>