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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 16th, 2003, 03:10 AM
estron estron is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Posts: 40 estron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Why learn XML?

I've been tasked to learn XML for work. A straightforward thing to have to do and I've already began working it out (the basics, of course).

Now, before I get right down to it, why should I learn XML?

From what I have seen, I need to drop data into an XML document (linked to a DTD for all the entities) and use that document full of data as a data-source for pages.

As I understand, a relational database will do the same job for me. My job at my employer is in PHP/Python and MySQL. Why should I use XML rather than MySQL.

For reference, I understand that I can pull data from XML files using PHP. But I can also do the same from MySQL.

I'm confused and need a good talking to. Please help me understand why I should be using XML.

Yours in faith,
estron

Reply With Quote
  #2  
Old April 16th, 2003, 10:23 AM
Edward Bryant Edward Bryant is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Chicago, IL
Posts: 3 Edward Bryant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Here is one reason: Portability.

If you have a perfectly designed database and you are going to share the data with another company in a partnership, etc., then you can have a host of problems in dealing with compatability/conversion issues.

In the publishing industry, we often need to share data or sell raw data to another entity and xml, and markup languages in general, provide a good universal standard. I know that after passing along the data (say the whole text of a book or article) that the other person either (1) has the tools to use it or (2) can create them without significantly reconverting the data. Thus, the data as a product is worth more money.

I am sure others will have additional reasons.

Given what I have said above, every situation is different and deserves its own analysis.

Reply With Quote
  #3  
Old April 16th, 2003, 03:37 PM
acidbox acidbox is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 10 acidbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 0
The only reason you would need to use XML is if you plan to export data that will be used by multiple platforms. If all your data is to stay in PHP and never be transferred to any other platform or offsite location, then don't waste your time. XML is a big headache, and until they come out with some better standards it's a waste of time unless its necessary.

Reply With Quote
  #4  
Old April 24th, 2003, 01:50 AM
maliX maliX is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: belgrade
Posts: 4 maliX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i'm php/mysql developer myself. the way i see it is: one file for all. with a single xml document you could have a txt, html (for screen, print and so on medias) and you can easily make pages for cells.
sounds great and works great.
that's how i see it and experience it

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Why learn XML?


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