DBIx-Class-DeploymentHandler

 view release on metacpan or  search on metacpan

lib/DBIx/Class/DeploymentHandler.pm  view on Meta::CPAN

 +----------+        +--------+        +-----------+
 |          |        |        |        |           |  (implementations)
 | Version  |        | Deploy |        |  Version  |
 | Storage  |        | Method |        |  Handler  |
 | Standard |        | SQLT   |        | Monotonic |
 |          |        |        |        |           |
 +----------+        +--------+        +-----------+

=end text

=for html <p><i>Figure 1</i><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvgAAAGyCAIAAAAeaycjAABI7UlEQVR4Xu3df5AWxZ348VlAl0VQWVxEhFNA8OqMLiKWYUURsEqNklMrshHjoal4dabqzn88Ka+s6GmiRmKSM6VGLwFU8HcpRgSMClFAUXOKcmoqoLACIiBmYfn9Y/f7+W4fPW0/+8zOMz...

The nice thing about this is that we have well defined interfaces for the
objects that comprise the C<DeploymentHandler>, the smaller objects can be
tested in isolation, and the smaller objects can even be swapped in easily.  But
the real win is that you can subclass the C<DeploymentHandler> without knowing
about the underlying delegation; you just treat it like normal Perl and write
methods that do what you want.

=head1 THIS SUCKS



( run in 0.241 second using v1.01-cache-2.11-cpan-0a6323c29d9 )