-=head1 A standard Maypole application\r
+=head1 Structure of a standard Maypole application\r
-A minimal Maypole application (such as the Beer database) consists of a \r
-custom driver class (BeerDB.pm), a set of auto-generated model classes, and a \r
-view class: \r
+A minimal Maypole application (such as the Beer database example from the\r
+L<Maypole> synopsis) consists of a custom driver class (BeerDB.pm), a set of\r
+auto-generated model classes, and a view class:\r
\r
=head2 Who builds the model?\r
\r
\r
=head2 Who builds the model?\r
\r
-First, remember we are talking about the standard, unmodified Maypole here. \r
-It is possible, and common, to override some or all of this stage and build a \r
-customised model.\r
+First, remember we are talking about the standard, unmodified Maypole here. It\r
+is possible, and common, to override some or all of this stage and build a\r
+customised model. See below - An advanced Maypole application - for one\r
+approach. Also, see L<Maypole's|Maypole> C<setup_model()> method. \r
\r
The standard model is built in 3 stages. \r
\r
\r
The standard model is built in 3 stages. \r
\r
array of each of these classes. \r
\r
Finally, the relationships among these tables are set up. Either do this\r
array of each of these classes. \r
\r
Finally, the relationships among these tables are set up. Either do this\r
-manually, perhaps with the help of L<Class::DBI::Relationship>, or use\r
-L<Maypole::Plugin::Relationship>. In the latter case, you need to set up the\r
-relationships configuration before calling C<setup()>.\r
-\r
+manually, using the standard L<Class::DBI> syntax for configuring table\r
+relationships, or try L<Class::DBI::Relationship> (which you can use via\r
+L<Maypole::Plugin::Relationship>). If you use the plugin, you need to set up the\r
+relationships configuration before calling C<setup()>. Be aware that some people\r
+like the convenience of L<Class::DBI::Relationship>, others dislike the\r
+abstraction. YMMV. \r
\r
=head1 An advanced Maypole application\r
\r
\r
=head1 An advanced Maypole application\r
\r
Whatever label you prefer to use, this approach provides for clear separation of\r
concerns between the underlying model and the web/user interface, and that's\r
what it's all about.\r
Whatever label you prefer to use, this approach provides for clear separation of\r
concerns between the underlying model and the web/user interface, and that's\r
what it's all about.\r
+\r
+=head1 Advanced applications - building the model by hand ** TODO\r
+\r
+- using Maypole::Model::CDBI::Plain or Maypole::FormBuilder::Model::Plain\r
+- setup_model() and load_model_subclass()\r
+- cutting out all those separate paths to CDBI - they're confusing \r
+\r
+\r
+=head1 Method inheritance ** TODO\r
+\r
+More description of Perl's left-to-right, depth-first method lookup, and where\r
+it's particularly important in Maypole.\r
+\r
+\r
Fix bug 14570 - returning error codes breaks CGI::Maypole\r
Write Maypole::Manual::Exceptions\r
\r
Fix bug 14570 - returning error codes breaks CGI::Maypole\r
Write Maypole::Manual::Exceptions\r
\r
2.12\r
====\r
Maypole::instance()\r
2.12\r
====\r
Maypole::instance()\r
\r
add email handling - like Rails - via model plugins\r
\r
\r
add email handling - like Rails - via model plugins\r
\r
-add validation layer, or just an API\r
+add validation layer(s), or just an API\r
-killer apps: SVN model; mitiki; Pet Shop;\r
+killer apps: SVN model; mitiki; Pet Shop; \r