Compare - XML vs. PHP

Comparing XML to PHP is something irrelevant as both are totally different. XML is a technology that is used to store data primarily. We can say that XML file hold structured and self-describing data. If you look at a tag in XML document you can say what a particular number denotes or what a particular word or content denotes.


_______________________________________________

For example, a number like 15 is meaningless in an html file but in an XML file it might denote the Price of a book in USD or it could be the number of items in stock. The tag in XML describes that clearly.

PHP is a high level scripting language used to create dynamic web pages. It is cross platform and you can embed html within PHP. It is easy to edit the PHP pages with an editor just like you edit the other web pages.

The PHP scripts reside on the server and you need a web server to process the scripts and give an html page to the client. With PHP you can interact with a database or an XML file and get data from them.




_______________________________________________

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________



 




 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

Copyright - © 2004 - 2017 - All Rights Reserved.