[kdewebdev-webdeveloper] test
Isaak
isaak89 at hotmail.com
Tue Mar 4 06:40:16 EST 2008
Hey,
Thank you Andrew and Chris for the informative responses.
The reason I use XML for the news articles is because this is the way of caching them, the less load this will have on the database the more you can use the database for other stuff.
News articles will first be entered into the database when created but to publish them on the webpage they will be cached into XML files. I admit that XML isn't the recommended way for a website such as the one I'm creating now (fansite), but to be honest I just wanted to use XML for the news articles because it's the first time I used XML for websites, even though it's not the best way it's still a good way to cache the news articles even though it's not very SEO friendly if I just use AJAX to load the XML contents.
It's also true that the size will increase as news articles are added but I'm using the Apache deflate module so it won't be much difference as it's just a fansite.
Another reason that I don't want to use PHP is because the filesystem is much slower than the database and XML is just a static file and the parsing will happen on the clients side using AJAX. And the XML file will allow others to easily use the contents of the file on their website(s).
The information above also explains why including an HTML file isn't the best option for me for this project. I did give this a thought though.
---
Isaak
_________________________________________________________________
Een gelukkig nieuwjaar vanwege Windows Live...Download het nu gratis!
http://get.live.com
More information about the kdewebdev-webdeveloper
mailing list