Copy the source for this page and paste it into an EditText window when creating a pattern. Cf. DesignPatternTemplate
PROBLEM: Very brief, please.
CONTEXT: Prerequisites for this solution.
FORCES: Bullet list of constraints.
RESULTING CONTEXT: What happens.
RATIONALE: Why it works.
Author: your name, the date
Originator:Somebody, not the author, who discovered the idea.
Please revise this page; this is a hasty skeleton. I suspect many of the one-line explanations of the sections are wrong. Does something similar already exist somewhere? I tried searching on "template" and "pattern form", and came up dry. -- BetsyHanesPerry
Doug Lea's Patterns-Discussion FAQ
(at http://gee.cs.oswego.edu/dl/pd-FAQ/pd-FAQ.html)has this to say about the format of presenting a Pattern.
"There are many stylistic variants of this [Pattern] format, including the purely narrative Portland Form."
I'll be sorry if the PortlandForm dies out. -- ChuckSiska
There is a Wiki-page providing an index to some of the more commonly used PatternForms (including PortlandForm, AlexandrianForm, CanonicalForm, CoplienForm, and GoFform). There is also an AGCS-patterns template at http://www.agcs.com/patterns/template.htm
I also have some slides presenting something similar to the template given above as part of my "Patterns in a Nutshell" presentation at:
http://www.enteract.com/~bradapp/docs/patterns-nutshell.html#Pattern_Elements
and a much more long-winded description at:
http://www.enteract.com/~bradapp/docs/patterns-intro.html#PatternComponents
See: OrcKillingPattern