Storm::Aeolus - Install classes to the database
$storm->aeolus->install_class_table( 'Person' ); $storm->aeolus->install_junction_tables( 'Person' ); $storm->aeolus->install_class( 'Person' );
Aeolus is the Greek god of the winds. Storm::Aeolus can introspect your object classes and create the appropriate definitions in the database. It is important you setup a policy (see Storm::Policy) for any custom types you have created.
Storm::Aeolus
The Storm storm instance that Aeolus should act on.
Backup the data for an entire class and write it to the supplised fielhandle.
= item backup_class_table $class, $filehandle, [\%opts]
Installs the all necessary tables for storing the class by calling install_class_table and install_junction_tables on the $class.
install_class_table
install_junction_tables
$class
Installs the primary data table for the $class.
Installs any junction tables necessary to store relationship information between objects.
Calls install_class for all members of the model;
install_class
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2010 Jeffrey Ray Hallock. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Storm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Storm
CPAN shell
perl -MCPAN -e shell install Storm
For more information on module installation, please visit the detailed CPAN module installation guide.