|
From: Arno H. <aho...@in...> - 2000-12-07 19:20:30
|
> But as you saw yourself, you are now forced to do this anyway. And I am
> very convinced that there is more to come.
I'm not so convinced :o)
> Ah, but that is the beauty of it all. All you have to do is say at the
> end of index.php
> include('templates/template.html');
Again: no it's not as easy as this. I want to have a string returned!
(e.g. dump html files in a ZIP file) so it basically becomes some form
of "eval('templates/template.html')" - and that means (among other things)
no echo, print, printf (not that that would be a major problem).
> Regular expressions are going to break down if you get things like nested
> IF-blocks. Or are you going to introduce a different type of IF-block for
> every possible combination of flags?
Nested IF-blocks work already. The only thing you can't nest is twice the
same condition, i.e. ###IF:ADMIN### .... ###IF:ADMIN###
But I can't think of a case where such a construct is necessary.
> [user accounts]
> Don't you think that it is safe to say that these things *will* be added
> in the future?
No. They won't come in 1.3.x (and therefore in 1.4.x)
And what is beyond that is pure imagination. For all I know, the internet
might no longer exist at that point.
> If phpwiki really takes off (and that is what I expect)
> then these things will be added sooner or later.
There are many other wiki-clones out there, so it's unlikely that phpwiki
will achieve world-domination. E.g. tclwiki already has user
identification, complete diff archive, and more goodies.
You can find a wiki-clone for every problem you need - from basic ones to
very sophisticated ones. phpwiki is somewhere in the middle. Offering nice
features, but with a simple backend. And it's this simplicity of the
backend that draws people to phpwiki.
I don't know Steve's plans for phpwiki, but I guess 1.3.x will go into this
direction: keeping the core as simple as possible and make phpwiki more
modular (so that people can add their favourite extension easily without
bloating the core).
> The nested IF-blocks would probably be one.
> You need that if you want
> something inserted only if three flags are true.
That works already. See browse.html for an example (IF LOCK inside IF ADMIN)
> PS. Can I ask you to just send replies to the mailing list? Right now, I
> am getting two replies every time. Or does Kmail not have that option?
Odd - I thought the list-prog doesn't send emails to people listed in To/CC.
At least it does not send me an email if my address is inside To/CC.
/Arno
|