]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Manual/About.pod
polished documentation
[maypole.git] / lib / Maypole / Manual / About.pod
index 3600a9476dcc01e3db038fd04ebff6fc3ea2c1dd..57c616f9e1447a14713f24f8df9612f73704cecf 100644 (file)
@@ -195,9 +195,10 @@ For now, simply admire its brevity, as you realise this is all the code
 you need to write for a simple database front-end:
 
     package BeerDB;
-    use base 'Apache::MVC';
+    use Maypole::Application;
     BeerDB->setup("dbi:SQLite:t/beerdb.db");
-    BeerDB->config->{uri_base} = "http://localhost/beerdb/";
+    BeerDB->config->{uri_base} = "http://localhost/beerdb";
+    BeerDB->config->{template_root} = "/path/to/templates";
     BeerDB->config->{rows_per_page} = 10;
     BeerDB->config->{display_tables} = [qw[beer brewery pub style]];
     BeerDB::Brewery->untaint_columns( printable => [qw/name notes url/] );
@@ -235,7 +236,7 @@ will give a list of beers. There might not be any yet. There's a box
 that lets you add them.
 
 If you have any problems getting to this point, you might want to look
-at L<http://wiki.simon-cozens.org/index.cgi?InstallationIssues>.
+at L<http://maypole.perl.org>.
 
 Play about with the site. Add some beers. Maybe go out and buy some beers
 to review if you need some inspiration. Don't be ill on my carpet.