SunQuest
           XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 13th, 2002, 04:27 PM
reemjacob reemjacob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 8 reemjacob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question XML or Database

I have been working on ASP/PHP/database development for quite some time. I am very new to XML and from what I learned about XML it is used as a sort of data storage.

1. If I am using SQL Server as my backend why should I convert it to XML data to run with ASP.

2. How should I choose between XML and Database like SQL Server for web applications.

3. Is'nt it easier to use an SQL query for retrieving data.

I need help from XML gurus and all the users inorder to get me going with XML.

Thanks in advance.

Reply With Quote
  #2  
Old July 14th, 2002, 12:23 AM
Waldo2k2's Avatar
Waldo2k2 Waldo2k2 is offline
Rock Star
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: K-town
Posts: 53 Waldo2k2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 21 sec
Reputation Power: 7
Send a message via AIM to Waldo2k2
well, you're right, if you're using the SQL then you don't need XML, it would be kind of pointless to add the extra step of parsing the XML when all you need to do is dump data into a database, and yes it is much easier to search an SQL database (hence: Structured Query Language)
As far as choosing goes, depends on the projects needs, if you need to send data across the world to anyone using any type of computer....use XML, otherwise if the data for instance is going to be used by say a bunch of ASP pages...etc. use SQL.
As far as getting you going on XML, check out devsheds tutorials, also w3schools XML
good luck.

Just remember not to over complicate things, if you only need SQL or XML, choose one, don't bother with both, XML is great, but it's a nuisance in some cases.
__________________
PHP and XML
Let's talk about SAX

Reply With Quote
  #3  
Old July 14th, 2002, 11:38 PM
reemjacob reemjacob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 8 reemjacob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Thanks

Thanks. That makes my life easier. Well, in that case why is XML so important, if it comes into picture only when we have to send data to other computers. 'Cause I guess in most of the web applications this scenario does'nt occur often.

Thanks once again.

Reply With Quote
  #4  
Old July 15th, 2002, 09:52 PM
Waldo2k2's Avatar
Waldo2k2 Waldo2k2 is offline
Rock Star
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: K-town
Posts: 53 Waldo2k2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 21 sec
Reputation Power: 7
Send a message via AIM to Waldo2k2
why xml?

Quote:
Well, in that case why is XML so important, if it comes into picture only when we have to send data to other computers.

Well that's exactly what XML was designed for, to send data back in forth between computers in a way that both the computer and coder can easily decipher. XML is platform independent, a MAC can read it just as well as a PC or a PDA etc. Not true with many (web) technologies. Just use it when you see fit.

Reply With Quote
  #5  
Old July 16th, 2002, 02:16 AM
reemjacob reemjacob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 8 reemjacob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Thanks

Thankyou very much

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XML or Database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway