Focused

Go Back   Focused > Design and Development > Web Development > Programming

» Sponsors

Register Now for FREE!
Our records show you have not yet registered to our forums. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
 
Random Question
  I agree to forum rules 

XML as a substitute of RDBMS

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 20-06-2007, 02:54 PM
Super User
 
Join Date: Mar 2007
Posts: 154
Rep Power: 11
D'Razor is on a distinguished road
XML as a substitute of RDBMS

I have read somewhere that there are applications/scripts which use XML format to save records rather then a RDBMS, I am going to develop a very light php application, Is it preferred to use XML instead of a RDBMS to save server/RAM resources.

Come on PHP gurus, share your experiences.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Sponsored Ads

  #2  
Old 16-08-2007, 07:51 AM
New user
 
Join Date: Aug 2007
Posts: 5
Rep Power: 0
JenniP is on a distinguished road

It very much depends what your working on, using XML data for applications that have one task updating the data and many tasks reading it work fine, where XML often falls down is if you try and and have multiple tasks updating it at the same time.

Other than that XML is great however depending on the size of the XML and the speed of your parser it can be very slow. Will it save server processor or RAM, again depends how big the XML is and how long you have to keep it in memory. Considering on the average web server the RDBMS will be loaded anyway you wont actually be saving anything, and with an RDBMS you use the amount of memory for that query at that time rather than a whole chunk of XML you may only be using 1 line from.

Jen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT. The time now is 05:29 PM.
©2006, Focused.ORG. All Rights Reserved.
Search Engine Friendly URLs by vBSEO 3.2.0