[kdewebdev-webdeveloper] test
Chris Martin
linux at chriscodes.com
Tue Mar 4 19:35:04 EST 2008
Isaak wrote:
> 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
Just another thought, have you looked at any caching libraries like JPcache?
http://www.jpcache.com/
I guess they've renamed it QuickCache now.
There are others too, that's just one I've used that worked well.
--
Chris Martin
Web Developer
http://chriscodes.com
More information about the kdewebdev-webdeveloper
mailing list