Do realize, of course, that you can return a dataset from a database in XML,
and store it client side.  Wanna sort by name?  Reorg the dataset.  In HTML
you'll have to make another round trip.  Wanna see your data sorted by time?
Reorg the dataset.  XML, while a little more tricky, does have some cool
features
that HTML just doesn't have.

Also, have you ever done inter-company data transfers?  How about to 8
different
people?  You write an XSL sheet for each one, and and XSLT.  Save yourself
days on import/export/data conversion routines, as well as validation of
"good"
data across the link.

True, XML's not the end-all be-all technology, but just another tool.
You choose not to learn it, that's all good; maybe you'll never use it.
But if you don't know it, at least a little bit, you may end up doing more
work in the long run because you won't recognize the instances where
XML will fit in beautifully and save you time.

Sure, you(generic form) can code PHP without any other programming knowledge
at all.
Sure, you(generic form) can even do it well without any other programming
knowledge.
But I guarantee you that even 1 "C" class, or better yet, a few programming
classes
will make a huge difference in your coding style, your ability, and your
knowledge of
what's "really going on" and how to optimise it.

XML, like the above example, is just another tool - just like a programming
language.
Sure, you may not need it, but once you have it, you'll find uses for it.

Peace, love, code.
-Szii


----- Original Message -----
From: Jason Caldwell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 14, 2001 2:44 PM
Subject: Re: [PHP] What's XML's Purpose??


> amen brother!
>
>
> ""Plutarck"" <[EMAIL PROTECTED]> wrote in message
> 9baam8$6sh$[EMAIL PROTECTED]">news:9baam8$6sh$[EMAIL PROTECTED]...
> > I use to be really enthusiastically pro-XML just as I was getting into
> PHP,
> > but now I've basically taken a "XML shmexXML" approach. I get the
initial
> > attraction, but I would think the love would fade off a bit.
> >
> > The key that so many people seem to forget is the best way to do HTML is
> > with, *gasp*, HTML!
> >
> > If you just want a webpage, XML is using a canon to kill a fly. It's
like
> > creating classes and objects in PHP for sending text emails.
> >
> > Sure you can do it...but why?
> >
> > XML is new. Common society doesn't do well with new. They always manage
to
> > screw it up somehow.
> >
> > XML started as an extensible markup language...that's it. That's all it
> was
> > supposed to do! Now people are using it to query databases, and concoct
> > entire search engines, and they are trying to use it to control access
to
> > restricted data, etc etc.
> >
> > It's the same thing that happened with Java. People just aren't good
with
> > "new".
> >
> >
> > XML is nice, and for some things it's even great. But it's not the death
> of
> > plain old HTML, just like ISDN didn't kill POTS (remember when ISDN was
> "the
> > future of telecom"?).
> >
> > I fear that there are too many cooks in the kitchen on XML, all with a
> > seasoning all their own that they are dead set on adding to the broth.
> >
> >
> > But for me, I say let people play with their Java and XML and new
fangled
> > widgets. I'll take my PHP and plain-old HTML, and I'll create twice as
> much
> > material with just as high a quality, and I won't need to spend an extra
> > minute learning a bleeding-edge technology.
> >
> > Life's too short to spend it learning how to live it. Translation:
Better
> to
> > program than to learn yet _another_ language.
> >
> >
> > --
> > Plutarck
> > Should be working on something...
> > ...but forgot what it was.
> >
> >
> > ""Chris Anderson"" <[EMAIL PROTECTED]> wrote in message
> > 002001c0c506$c70d7f00$0d1012d1@null">news:002001c0c506$c70d7f00$0d1012d1@null...
> > > thanks that helped
> > > I stll think it sounds like its more geared for the MS crowd
> > > ----- Original Message -----
> > > From: "Brian Clark" <[EMAIL PROTECTED]>
> > > To: "PHP is not a drug." <[EMAIL PROTECTED]>
> > > Sent: Saturday, April 14, 2001 3:29 PM
> > > Subject: Re: [PHP] What's XML's Purpose??
> > >
> > >
> > > > Hi Chris,
> > > >
> > > > @ 12:01:45 AM on 4/14/2001, Chris Anderson wrote:
> > > >
> > > > > Am I missing something here?
> > > >
> > > > This has been discussed many times. There was an extremely long
thread
> > > > last year about XML, but I can't find it in the archives.
> > > >
> > > > Here's a good start:
> > > >
> > > > http://marc.theaimsgroup.com/?l=php-general&m=97969195010857&w=2
> > > >
> > > > Use the 'next in thread' link to follow the thread.
> > > >
> > > > -Brian
> > > > --
> > > >  PGP is spoken here: 0xE4D0C7C8
> > > >  Please, DO NOT carbon copy me on list replies.
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to