[Tutor] wiki WORDS
Kirk Bailey
idiot1@netzero.net
Fri Jul 25 20:00:01 2003
OK, I thnk I want to code a wiki.
The one I have uses one script for all functions, and is very much into classes and
object oriented; which I do not yet grasp at all well. Also, it encodes headers and
footers into the code. IMHO, this is not a Great Good Thing(tm) because it makes it hard
as heck for one to customize the appearance of the pages, whereas reading in and spewing
the header and footer of the page would lend itself to convient editing of the wiki's
appearance.
Also, this thing puts all functions in a single script; complex and confusing. However,
If I do things in modules, this will simplify somewhat.
One program is a reader. Reads in the header file, requested page, and footer file.
Second part reads through the result, parsing imbedded markup and builting up a result
string, then squirting that at stdout.
Another is an editor. It sends a page with a simple textarea form containing the raw
text of the body of the page. Form output goes to a script that saves that, and returns
header, that new page, and footer as a result screen.
Now this will take a little while to code up. If anyone wants to stick an ore in the
water with me, you are hereby invited. Although we COULD discuss it here (and I for one
would welcome the community's comments and suggestions if this is acceptable), I suggest
that a better place would be on the wiki already working, or on a list hosted at the
tinylist site.
http://www.tinylist.org/
--
--
end
Cheers!
Kirk D Bailey
+ think +
http://www.howlermonkey.net +-----+ http://www.tinylist.org
http://www.listville.net | BOX | http://www.sacredelectron.org
Thou art free"-ERIS +-----+ 'Got a light?'-Promethieus
+ think +
Fnord.