GetSimple Support Forum

Full Version: XML Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just created a forum in php / mysql(i). And, after seeing the flexibility of xml, I'm thinking about making one in pure xml / php no mysql.

Thoughts? Ideas?

So far the only thing I think would be difficult would be updates to the topics based on replies unless sorted with an array sort.
Which forum did you create? I'm not following...
I personally like the idea, except xml can't handle that much information. For example, in a mySQL db you can search for a cell in no time at all. You can search through an entire database for a single word very quickly. XML, you must open and close every file to search through them.

That to me is the hardest part about xml. You could create a separate file for search terms and related files, however, eventually that file will become too large for it's own good.
ccagle8 Wrote:Which forum did you create? I'm not following...

It's called riotpix, I'm recoding it. The owner just kind of stopped developing on it and I took an interest in it.

Url: http://www.riotpix.com/board/read.php?forumid=644 - the new design
Url: http://www.riotpix.com/board/read.php?forumid=630 - Me posting about rewriting and such.

I accidentally deleted a file due to an editor error and I've been recoding that one file for about two days now because of work and my blog.

@internet54 thats what I was thinking about as well, however I was thinking of a simple forum like riotpix. Nothing huge like punbb.
I see what you mean, I like that forum already... so simple Smile

Why does everyone try and make scripts so complicated? It seems everyone has big hopes and dreams for scripts but they forget that the main purpose of the script is to do it's initial job. Forum software has become so bloated it's ridiculous. I remember when forums didn't even have PM's. Now, if a forum doesn't have a full blown blogging atmosphere, then it is no good.

Bring me back to the glory days Wink
It has little to do with whether the forum is simple or not. It’s all about how many posts you think you’re going to get. This forum is nothing big, you could easily take out the smileys etc. Still it has hundreds of posts. This wouldn’t be fast when using XML.

Also, our code is pretty simple as we can use the SimpleXML lib. But when your files get bigger this will also become slow and you’ll find yourself using a stronger lib, which will make your code more and harder again.

Just my thoughts.
Well I was thinking of seperating topics then looked at it from read / write view and that would be thousands of read / writes for one topic in many. Then thought of seperating and having a main file for id's.

Either way it would be rewriting a lot. Riotforum the one I'm coding is about 98.5% times faster than phpbb right now, and I'm not striving to make it anything close to phpbb. I may add simple categories in the future but for now I like it where it is, this was just an idea.