(I want to know if this is possible in PHP. If you know it won't work, PLEASE suggest another language. If it will, let me know what I should read up on, give me examples, etc. so I can learn.)
How can I make a page editable in the browser with PHP?
What about discussion pages? Not ala wikipedia, nor a full-blown forum, rather something like what Desktop Linux uses. (
http://desktoplinux.com/cgi-bin/boar...oard=talkbacks) I'd love to avoid JavaScript, and possibly databases too in the process.
(Just not something I'd like to deal with.)
What I'm interested in doing is building a system like MediaWiki, except... more static pages. Less reliance on databse. Much more of a mobile operation; I want to lower the amount of reliance on databases and javascript as possible; I'm look for much more server-side, and much less client-side.
IMHO, the wiki is great, but it's got a horrible interface.
Oh, and why I didn't take the mediawiki system and change the stylesheets and modify other stuff like that? I want to get rid of wiki-formatting too. I want to go for an HTML/XHTML or XML-based site instead. (If PHP can work with XML. Haven't read up on it)
Also, I need help organising the actual content. Do you think I should go via categories, via letters/numbers, or just dump them all in one (HUGE) directory? What I'm planning to make it look like is:
me.moo/index.php[/url]
But then for content, either:
me.moo/s/a.php?=Archeology
(If PHP handles pages like that)
or
me.moo/s/news.php?=09_05_07
me.moo/s/warhammer.php?=Dark_Elves
or
me.moo/van.php?=Something_Here_Or_Whatnot
(The "s" represents "static". There will also be "d", "developper". I'll possibly make it like d.me.moo or whatever.)
The idea behind the interface is that all pages are static. No javascript if possible, and PHP does everything server-side only. Where it gets interesting is that there will be a discussion system, where additions can be discuessed, and there will be a nightly-build section; at midnight (or as late as possible), the static pages are archived, and the well-worked nightly-build pages (Any one that had good content added) will either replace, or simply help re-build, the static pages. Oh, and you don't need to register to add anything to the nightly builds, which won't be as highly-moderated (In theory) because it's more of a draft than real information. The discussion board might need registration, and the static page editing will definately require registering, and most likely moderator-level powers.
(In the case of no static page available, the user is prompted to either go to the nightly-build, to either start it or view it, or look for something else.)
It's supposed to help the creadibility of wikis. Generally people don't trust wikis because of the fact that anyone can edit them, and then there's some wikis that just hate you and force you to register before editing things. I'm hoping this system can prove to be credible while still keeping an open-mind. The only thing I'm afraid of is people making edits in the nightly-build section, but having them removed by spammers. I guess the best thing to do would be keep a (sadly, long) log of who posted what somewhere on the server.
Thanks to anyone who's crazy enough to read all of this and help me out.
PS: Sorry if this post reads badly, I wrote it kind of as I went along, so you know not much structure.
PPS: All programmers are good ones except for me :P