Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 01-06-2009, 04:22 PM   #1 (permalink)
Contributing Member
 
Join Date: 12-14-08
Posts: 140
iTrader: 0 / 0%
Latest Blog:
None

2939195631902 is liked by many
Exclamation Difference between XML ...?

What exactly does XML do?

everyone tells me XML is used to structure and describe information. ON the lynda website, it shows how xml is used to build a business card.

However, if this is all xml do, then why learn it at all?
After all, PHP with mysql and php oriented object will do the same thing.
2939195631902 is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-06-2009, 04:36 PM   #2 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 236
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the rough
It's more of a universal way to communicate through programming languages. You can parse XML with a PHP object and get information from it. If you are making an application for your own server, I would just use a database, sessions, or cookies to store your information, but many other services use XML to communicate, so it's important to know how to generate and parse it.

I was thinking the same thing as you for a while, and I don't use it unless I absolutely have to (I have to send credit card requests in XML format to the credit card terminal I use--that's the only time I use it).
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-07-2009, 07:55 AM   #3 (permalink)
Junior Member
 
Join Date: 01-05-09
Location: netherlands
Posts: 20
iTrader: 0 / 0%
Latest Blog:
None

juust is liked by many
xml is better suited to send structured data (tables) between servers,
but I figure the clue about xml is xml-rpc.

With xml-rpc (remote procedure calls) you send a whole function call (with the data you normally pass with parameters) between packages, and can build online peer to peer or remote control networks. The libraries are open-source and have little or no dependencies.

I heard windows7 has xml-rpc integrated in the windows api, so you can build applications on lan/desktop and have em communicate with internet services (without the browser). iPhone and Wordpress hooked up recently, and now you can blog from your iPhone (photo blogging).

xml-rpc might become big business the next few years, especially if as website you want to offer accessibility and connectivity for mobile phones and desktop applications.
juust is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-08-2009, 09:43 AM   #4 (permalink)
v7n Mentor
 
Boogle's Avatar
 
Join Date: 09-03-07
Location: England
Posts: 646
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
You must know XML to be a good cross-compatible developer. Especially if you use databases. No big company I have worked with have NOT used XML. They ALL use it! it's fast, universal, small in memory and is so robust it's unbelievable. XML is the way forward for all communications...

As Capo said, all monetary transactions are communicated with using XML, well all ther payment providers i've set-up before have been done with XML transactions.

Learn it!! XML Webservices is what you need to look at and understand!

Boog's
__________________
Great new 'June' Javascript Framework
June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-08-2009, 10:00 AM   #5 (permalink)
Contributing Member
 
Owen's Avatar
 
Join Date: 04-27-07
Location: Isle of Man
Posts: 188
iTrader: 0 / 0%
Owen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really nice
Send a message via MSN to Owen
The thing about XML is that it lets you describe data in a pretty much universal format. You use XML all the time, for example, HTML is a form of XML, where the page content is defined in a structured format.

The usefulness of XML is pretty much taken for granted nowadays, but before it was around, you would use proprietary formats to communicate from one system to another, most of which was archaic and very few of those formats were human readable.

An appreciate of XML is important, though you may not need it right away if you're building simple applications. However, when you start talking about integrating different services, using AJAX or even generating HTML in a structured way, you need to start getting your hands dirty with XML. Luckily most languages today have XML parses built into them letting you quickly serialise classes into XML, or traverse XML nodes efficiently for example, which really cuts down on the time it takes to build things.
__________________
I'm a Maltese bloke living in the Isle of Man. Read more about my professional life on my Tech & Business Blog or my new MBA Geek blog
Owen is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-22-2009, 10:43 PM   #6 (permalink)
Junior Member
 
Join Date: 05-19-04
Posts: 12
iTrader: 0 / 0%
Latest Blog:
None

Jasber is liked by many
PHP and XML are different things. XML is used to store data, much like a CSV file or a tab delimited file or an Excel file.

XML is just a convenient way to express web pages and certain types of data.
Jasber is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference? neoscud Web Design Lobby 4 10-21-2008 02:52 PM
What is (are) the difference (s)... Costin Trifan Forum Lobby 6 08-02-2007 03:41 AM
the key difference webexplore Web Directory Issues 6 12-27-2006 10:23 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:45 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.