Page 1 -- introduction
As an example of how to display the Perl Monger's data, the package
Template::Toolkit
was used. There were
several reasons for this decision.
- Allows seperation of presentation from data. E.g., an MVC with:
- Model -- the data access provided by PM challenge problem's web access
- View -- web pages that could be easily modified by a web designer
- Controller -- the part I am more interested in
- In theory the Controller should be easy to use without any Perl programming although it could use Perl if needed.
- A new-to-me package to try out.
- A large number of helper apps to explore and use.
The general flow of presentation is simple:
- List of customers
- Per-customer list of projects
- Per-project list of jobs
- Admin page
The following pages will track the evolution of the "list of customers" main page.
To get to the final product
took several iterations of the Controller. However once these iterations were complete then the Controller could
be applied to the other pages.
First, let us look at the View which remained mostly static throughout the evolution of the Controller.