From 1075bf1029dc2fddd8c9432a295bf2ad6ec3965c Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 10 Mar 2004 11:34:21 +0000 Subject: [PATCH] Doc outline. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@81 48953598-375a-da11-a14b-00016c27c3ee --- doc/About.pod | 12 +++ doc/Beer.pod | 7 ++ doc/Flox.pod | 1 + doc/Model.pod | 9 ++ doc/Overview.pod | 32 ++++++ doc/Request.pod | 9 ++ doc/StandardTemplates.pod | 208 ++++++++++++++++++++++++++++++++++++++ doc/View.pod | 9 ++ 8 files changed, 287 insertions(+) create mode 100644 doc/About.pod create mode 100644 doc/Beer.pod create mode 100644 doc/Flox.pod create mode 100644 doc/Model.pod create mode 100644 doc/Overview.pod create mode 100644 doc/Request.pod create mode 100644 doc/StandardTemplates.pod create mode 100644 doc/View.pod diff --git a/doc/About.pod b/doc/About.pod new file mode 100644 index 0000000..60c3ab7 --- /dev/null +++ b/doc/About.pod @@ -0,0 +1,12 @@ + +=head1 Introduction to the Maypole Request Model + +=head2 What is MVC for web applications? + +=head2 What is Maypole? + +=head2 Phases of a Maypole request + +=head2 The model class + +=head2 The view class diff --git a/doc/Beer.pod b/doc/Beer.pod new file mode 100644 index 0000000..33baddf --- /dev/null +++ b/doc/Beer.pod @@ -0,0 +1,7 @@ +=head1 The Beer Database, Twice + +=head2 The big beer problem + +=head2 The easy way + +=head2 The hard way diff --git a/doc/Flox.pod b/doc/Flox.pod new file mode 100644 index 0000000..ee0a96a --- /dev/null +++ b/doc/Flox.pod @@ -0,0 +1 @@ +=head1 FlOx: A Social Networking Site diff --git a/doc/Model.pod b/doc/Model.pod new file mode 100644 index 0000000..1468de2 --- /dev/null +++ b/doc/Model.pod @@ -0,0 +1,9 @@ +=head1 Maypole Model Classes + +=head2 Class::DBI + +=head2 Maypole::Model::CDBI + +=head2 What Maypole wants from a model + +=head2 Building your own model class diff --git a/doc/Overview.pod b/doc/Overview.pod new file mode 100644 index 0000000..8f5382e --- /dev/null +++ b/doc/Overview.pod @@ -0,0 +1,32 @@ +=head1 Overview of Maypole Documentation + +The Maypole documentation is arranged over several files; this is a good +one to start with. + +Once you've read this, you should probably look at L, the +guide to what Maypole is and how the Maypole request works. It also +describes how to set up a simple CRUD web application in Maypole. + +The next two chapters are quite thorough, and you might want to skip +over them if you already know how L and the L