Revision [17340]
This is an old revision of KlenWell made by KlenWell on 2007-08-06 00:40:57.
About Me
password: m{this.domain/KlenWell}wush.net login: klenwell / m{wush.net/that.user}
my wikka site: http://www.klenwell.net/is/HomePage
blog: http://phosphorusandlime.blogspot.com/
Code Contributions
Wikka 3-Column Layout CustomizationWikka Recent Changes Notifier
Proposed Page Handler Revision
Note: this was submitted to Wikkawiki dev site as Ticket #532The page-rendering code (handlers/page/show.php) for wikka, at the moment, is a bit disorganized. I notice there are some references to a new templating model in the latest release and notice the improvement being made. But I think this part of the code could benefit by following a more organized controller logic. Find my proposed revision of handlers/page/show.php below:
Its advantages
- eliminates confusing mixture of logic and presentation layers
- preserves all elements of the current source code
- offers a controller for more cleanly determining which elements of the page get displayed
- distinctly identifies each element of the resulting layout
- provides a simple prototype for a templating model
- makes it easier to change major layout elements for web designers
- my tests of it thus far have been successful
Code Source
KlenwellCodeHandlerShow564 show.20070712.php (based on revision #564)
KlenwellCodeHandlerShow637 show.20070805.php (based on revision #637)