Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-25-11, 01:22
BOD Member
 
Join Date: Nov 2010
Posts: 81
Default What is a purpose of using XML?

Hello

What exactly XML stands for, and what are the actual benefits to it? As I've heard plenty of things about it, but had never checked it really. I am just curious to know its benefits.
Reply With Quote
  #2 (permalink)  
Old 02-25-11, 01:26
Rozanne's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 116
Default

I am using XML to transfer my data from PHP to Flash application. Whenever flash require to move data from a DB, it connects to a PHP script. The PHP script, then fetches the data from the db, formats it into XML and output the file. Flash application then parses this XML data. This is just common usage for XML. You can use it to share data between two separate terms.
Reply With Quote
  #3 (permalink)  
Old 02-25-11, 01:28
Kristine Habeck's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 122
Default

XML is consist as a extensible markup language. It allows the users to use their own markup tags. It is mainly used for exchanging data. For an example, <users><user><name>user A</name><email>email</email></user></users>
Reply With Quote
  #4 (permalink)  
Old 02-25-11, 01:29
BOD Member
 
Join Date: Nov 2010
Posts: 95
Default

In addition, you can also create RSS feeds. If you have a news and updates categories in your website it is good to include a feed link. On the other hand creation of RSS is really easy, it follows the basic format.
Reply With Quote
  #5 (permalink)  
Old 02-25-11, 01:31
BOD Member
 
Join Date: Nov 2010
Posts: 57
Default

It is really great to send out data to the other end. DTD validation is useful before sending it out. It can be use for lot of thing. You can use it like a light weight db, configuration file, web services and etc..
Reply With Quote
  #6 (permalink)  
Old 02-25-11, 01:40
BOD Member
 
Join Date: Nov 2010
Posts: 104
Default

There are several benefits of XML such as plain file that come to file extensibility and data hierarchy. Even you can also use XML for data storage, it's intent is not made for that, as it is made for data exchange, like common language that two specific systems understand. Managing a large amount of data with XML is quite easy.
Reply With Quote
  #7 (permalink)  
Old 04-24-11, 12:41
BOD Member
 
Join Date: Apr 2011
Location: world
Posts: 104
Default

Quote:
Originally Posted by Taylor31 View Post
Hello

What exactly XML stands for, and what are the actual benefits to it? As I've heard plenty of things about it, but had never checked it really. I am just curious to know its benefits.
XML is a markup language where everything must be marked up correctly, which results in "well-formed" documents.

XML is designed to describe data

Today's market consists of different browser technologies, some browsers run on computers, and some browsers run on mobile phones or other small devices. The last-mentioned do not have the resources or power to interpret a "bad" markup language.

Therefore - by combining the strengths of HTML and XML, W3C recommended a markup language that is useful now and in the future - XHTML.
Reply With Quote
  #8 (permalink)  
Old 05-15-11, 21:22
BOD Member
 
Join Date: May 2011
Posts: 1
Default Free and Open Source PHP XML scripts

Free and open source PHP XML & PHP Scripts. Looking for XML & PHP Scripts? You are at right place. PHPKode have the best XML & PHP Scripts for your web site.

Hopefully can help you!
Kind Regards!
Reply With Quote
Reply


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

vB 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 -6. The time now is 01:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.