Maypole::Manual - The Maypole Manual


NAME

Maypole::Manual - The Maypole Manual


DESCRIPTION

The Maypole documentation is arranged over several files; this is the right one to start with, as it provides an overview of the entire set of Maypole manuals, with a brief description of each. Some of these manuals are not yet finished, but they should still be useful.

the Maypole::Manual::About manpage - Overview of the Project
This document is a general introduction to Maypole: what it is, what it does and how it works.

Maypole is a framework for Web development. At the basic level, it converts a URL like http://www.mysite.com/product/display/12 into a method call such as ``perform the display method on item 12 in the product table'' and then shows the result: here, presumably, a description of item 12 in your product database,

It is based on Model-View-Controller (MVC), a design paradigm in which each major aspect of an application's operation is handled by a different and totally separate system).

Basic installation instructions are given. A sample Web application--the Beer database--is introduced, set up, and discussed. Finally, the path a Maypole request takes as it moves through the system is described.

the Maypole::Manual::Model manpage - Model Classes *
This document introduces the model class, which controls the interaction between Maypole and your database. The use of ``actions''--method calls that operate on your database--is discussed. Maypole's default model class is the Class::DBI manpage, which basically creates a class for each table in your database and provides a variety of convenient methods for manipulating each table and its relations. It integrates very smoothly with Maypole's default view class, the Template Toolkit.

the Maypole::Manual::View manpage - View Classes *
This document is an extensive discussion of Maypole's view class, which takes the data produced by the model (see above) and sends it through a templating system in order to produce output. It focusses chiefly on the the Template manpage Toolkit, which is Maypole's default templating system, but discusses other possibilities.

the Maypole::Manual::StandardTemplates manpage - Standard actions and templates *
This document discusses the standard actions and templates that Maypole uses. The standard actions (method calls that operate on your database) include list, which generates a paged list of a table suitable for browsing, and search, which handles a search query and generates search results.

The standard templates, which generate output for display on the Web, also include list, which displays the entries in a table, and search, which displays the result of a search.

You'll note that most actions are associated with templates.

This document also introduces the theory behind Maypole's actions and templates, showing you how to write your own so that you can have a highly customized application.

the Maypole::Manual::Plugins manpage - writing Maypole plugins
Useful information for plugin authors.

the Maypole::Manual::Terminology manpage - pinning down usage
As well as defining common terms used in Maypole discussions, this document briefly discusses the MVC-ness of Maypole.

the Maypole::Manual::Workflow manpage - Description of the Request Workflow
This is a technical document that describes the progress of a request through the entire Maypole system. It should be of interest chiefly to those people hacking on Maypole itself, and not to most of those who are using it.

the Maypole::Manual::Beer manpage - The Beer Database Revisited *
This document gives a close look at the Beer database that was introduced in the Maypole::Manual::About manpage.

the Maypole::Manual::Cookbook manpage - The Maypole Cookbook
This extensive document is Maypole's main ``How do I do X?'' FAQ. It provides a wide variety of cookbook-like techniques that are useful both for themselves, and as examples of what sort of things can be done with Maypole processes.

the Maypole::Manual::Flox manpage - Case Study: Flox social network *
This is an example of how to construct a large Web application in Maypole: a ``social network'', similar to Friendster and Orkut. It shows, specifically, the database structure and the variety of customized techniques that make such a system work.

the Maypole::Manual::IBuySpy manpage - Case Study: iBuySpy *
This is an example of the ASP.NET sample portal application ported to Maypole. http://www.ibuyspy.com is a fictional e-commerce site that is relatively sophisticated. It is much better as a Maypole application.

  * indicates incomplete chapters.


SEE ALSO

http://maypole.perl.org


AUTHOR

The Maypole Manual was written by Simon Cozens. A generous grant from the Perl Foundation in the first quarter of 2004 funded some of the chapters of this manual.

This overview was rewritten by Jesse Sheidlower, jester#panix.com, based on Simon Cozens' original Overview document.

In December 2004, Dave Howorth, dave.howorth#acm.org kindly donated some of his spare time to improve the structure of the manual and bring it up to date.


AUTHOR EMERITUS

Simon Cozens, simon#cpan.org

 Maypole::Manual - The Maypole Manual