Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML Forum
#1
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.
http://nijikokun.com
random stuff. idk.
Reply
#2
Which forum did you create? I'm not following...
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
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.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply
#4
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.
http://nijikokun.com
random stuff. idk.
Reply
#5
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
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply
#6
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.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#7
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.
http://nijikokun.com
random stuff. idk.
Reply




Users browsing this thread: 1 Guest(s)