Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2006, 01:24 PM
WebProWorld Member
 

Join Date: Jan 2006
Location: London
Posts: 77
WomenXtra RepRank 0
Default Do you use XML? and why?

Hi All,

I would like to get an idea of XML - why do people use? how? when? examples pleaseeeeee!!

I also wanted to know if you can use it with PHP?

i read a lot of tutorials, found them a bit confusing for someone who is a beginner like me!

ur help and input is appreciated.

thanks
WX
__________________
www.womenxtra.co.uk
Join our new community and take part in the discussions!
Reply With Quote
  #2 (permalink)  
Old 04-12-2006, 06:38 PM
incrediblehelp's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jan 2004
Location: Live in Cincy Now
Posts: 7,702
incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4
Default

XML can be great for easily delivering content from one location to another. Sure it can be used in with PHP. I am little confused on why your interested, because you really don't tell us why you want to learn it or use it.
Reply With Quote
  #3 (permalink)  
Old 04-13-2006, 05:11 AM
WebProWorld Member
 

Join Date: Apr 2006
Posts: 31
sacx13 RepRank 0
Default

Read this:
http://www.w3schools.com/xml/xml_usedfor.asp

XML was designed to describe data. In the real world, computer systems and databases contain data in incompatible formats. One of the most time-consuming challenges for developers has been to exchange data between such systems over the Internet.

Converting the data to XML can greatly reduce this complexity and create data that can be read by many different types of applications.

Since XML data is stored in plain text format, XML provides a software- and hardware-independent way of sharing data.

This makes it much easier to create data that different applications can work with. It also makes it easier to expand or upgrade a system to new operating systems, servers, applications, and new browsers.

Example:
<books>
<book>
<index>1</index>
<title>Title</title>
<author>Author</author>
<category>Category</category>
</book>
<book>
<index>2</index>
<title>Title2</title>
<author>Author2</author>
<category>Category2</category>
</book>
<book>
<index>3</index>
<title>Title3</title>
<author>Author3</author>
<category>Category3</category>
</book>
</books>
Reply With Quote
  #4 (permalink)  
Old 04-13-2006, 05:43 AM
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default

A good example of this is RSS feeds. Your visitors can use whatever feed reader they want to read your latest news / posts etc straight from their desktop. The application only needs to know the location of the feed, and nothing of the underlying storage method for these articles
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: ,



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 On


Search Engine Optimization by vBSEO 3.2.0