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 Customization∞
Wikka Recent Changes Notifier∞
Proposed Page Handler Revision
A good first step in intelligently refactoring the page handler code would be identifying the discrete html elements that make up the html it outputs. I've created the following page to list out the html elements and controller events that output core wikka page:
HandlerShowSchema
The 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
Note: this was submitted to Wikkawiki dev site as
Ticket #532∞
Code Source
show.20070712.php (based on
revision #564∞)
show.20070805.php (based on
revision #637∞)