X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FManual%2FTerminology.pod;h=1871910c3b232cb4e60493b314881d878de744ac;hb=ad24ffc85f25a9b73a28cd326c3b3caea234adbf;hp=05b321ef1c88e055bc78f0a949b6ef07b6a3bcbf;hpb=ba579915a0d92c87a8d1baad0e7709ea9b3a2559;p=maypole.git diff --git a/lib/Maypole/Manual/Terminology.pod b/lib/Maypole/Manual/Terminology.pod index 05b321e..1871910 100644 --- a/lib/Maypole/Manual/Terminology.pod +++ b/lib/Maypole/Manual/Terminology.pod @@ -21,6 +21,13 @@ L to set up your app (not recommended for newbies, but common enough), the driver class will directly inherit from one of Maypole's frontend classes. +=item controller + +Occasionally this term is used in place of C. + +See the entry below (MVC) for the main usage of the term C within +Maypole. + =item application Sometimes this is used to refer to the driver, but this term is best reserved @@ -88,8 +95,12 @@ A file used to generate HTML for part or all of a web page. Maypole currently supports Template Toolkit and Mason as templating languages, but others could be added easily. +=back + =head2 MVC and Maypole +=over 4 + =item MVC - Model-View-Controller A pattern describing separation of concerns in a complex application. The @@ -100,21 +111,22 @@ Opinions vary between how closely Maypole adheres to this pattern. Here's one opinion: -=over 4 - =item controller An abstract concept in Maypole, i.e. there is no specific controller class. -The main sequence of events that occur during the processing of a request is -controlled by methods in L. Thus, major parts of the controller are in -the same class as the request object. This may seem a bit strange, but in +The main sequence of events that occur during the processing of a request is +controlled by methods in C. Thus, major parts of the controller are +in the same class as the request object. This may seem a bit strange, but in practice it works well. More detailed events within the processing of a request are actually handled by methods in the Maypole 'model'. For instance, switching from one template to another. +Be aware that occasionally authors refer to the C when they are +describing the C. + =item model In Maypole, the model is the set of classes representing individual tables in