Letterbomb05 Posted November 8, 2009 Share Posted November 8, 2009 Hi, Before I start, this isn't strictly about the code itself so if this thread is in the wrong place, I'd be much appreciative if a moderator could move it. I've just been thinking about what would be more server-efficient (use less bandwidth etc) for use in a website when it comes to systems that I would usually use PHP to retrieve the info from a database, for example a news system. Usually I would have the users view the page and each time the page loads the information would be retrieved from the database... Now I'm not entirely clued up on how server intensive it would be to have these sort of systems where the information is constantly being retrieved from the database over and over for thousands of users, but I was thinking about if an XML system would work better for server-efficiency. Let's take the news system idea for example, I'd have an XML file looking something like this... <title>This is my news title!</title> <body>The main news!</body> <poster>This is who posted the news!</poster> Okay so you get the idea, PHP retrieves info from the file rather than the DB... I'm not sure if this would actually be worth it, hence why I'm doing the research Thanks for any replies, much appreciated! - Aaron. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.