473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

What Can XML do for me?

I'm a self taught PHP, MySQL developer with a little knowledge of
javascript...
Looking to add some more knowledge to my resume. What is XML, and what
can it do for me? What are it's main functions and uses? Where does it
add speed? What kind of applications can it build?

Thanks for you comments and help!
Jul 20 '05 #1
4 1844
"Sean" <ph****@adelphia.net> wrote in message
news:bc**************************@posting.google.c om...
I'm a self taught PHP, MySQL developer with a little knowledge of
javascript...
Looking to add some more knowledge to my resume. What is XML, and what
can it do for me? What are it's main functions and uses? Where does it
add speed? What kind of applications can it build?

Thanks for you comments and help!


That's a big question and I'm sure everyone has their own viewpoint.

XML is just a file format that you can use to store data or transfer it from
somewhere to somewhere else - Think of it as like a glorified 'ini file' if
you like.

However, it has several advantages over many other file formats, here are
some:

1. It can store hierarchically nested information to an arbitrary depth and
with attributes on any of the elements

2. values can be of arbitrary size - no line length restrictions

3. the character set used is known (either implicitly or stated explicitly)

4. the 'namespace' feature means that different types of information can be
present in the same XML "document" without conflicting with each other.

5. there are standard mechanisms for escaping certain character sequences

6. the 'dtd' and 'schema' features allow you to specify what is allowed
where, so the document can be automatically validated by a standard tool

7. there are many tools available to process XML - you don't have to use a
different tool for different file formats

Taken by itself, XML is nothing magical. However, what makes it great is
that you can use one file format for so many things.

Whenever you design your own file format or data transfer format you have to
invent your own conventions (how to represent a comment, how to represent
the end of a line, which character set will it be in, how to escape certain
characters) and you have to write your own tools to access it.

However, if you choose to use XML, you have many of these low-level problems
solved and many tools already available. once you are using XML for a lot of
things you will find yourself using the same tools and programming libraries
to solve many different problems, and if you have to interchange data with
someone else's application a lot of the "protocol" issues don't apply
because you're both talking XML

Although I knew what XML was before I started to use it, I was skeptical
because I thought "it's just a file format". Now I use it all the time I'm
much more convinced of the benefits.

As to your exact questions, XML cannot by itself add speed or build
applications; it is just a universal language that can be used to store and
interchange information and is increasingly becoming *THE* language for
those things.

Andy
Jul 20 '05 #2
Thanks Andy,
That's at least a good start! Now some of my questions would be...
Where are some good starter tutorials, with small applications to
build and "test out" XML.

So XML allows for remote servers to have communication together
without all the permission hassel?

How well does XML handle things like instant messanging? or am i off
track?
Jul 20 '05 #3
Sean wrote:
Thanks Andy,
That's at least a good start! Now some of my questions would be...
Where are some good starter tutorials, with small applications to
build and "test out" XML.

So XML allows for remote servers to have communication together
without all the permission hassel?

How well does XML handle things like instant messanging? or am i off
track?


http://www.w3schools.com/xml/

Also check their other tutorials, expecially those listed under "XML
Tutorials" on their home page. Because XML is not a single technology -
rather, it's a foundation enabling you to build any number of "technologies"
and formats on your own.

Berislav

--
If the Internet is a Marx Brothers movie, and Web, e-mail, and IRC are
Groucho, Chico, and Harpo, then Usenet is Zeppo.
Jul 20 '05 #4
OH MY SOUL! That's What XML is!?! WOW!
This is going to great!
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
12
by: Dario | last post by:
The following simple program behaves differently in Windows and Linux . #include <stdexcept> #include <iostream> #include <string> using namespace std; class LogicError : public logic_error {...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.