Hello Plutarck,

On 14-Apr-01 17:07:42, you wrote:

>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!

Exactly!


>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?

Maybe you miss the point of using classes and objects in general
programming.  Classes encapsulate behaviour and data.  They are just a
capsule of script functions and related data.

Sending mails correctly formatted is not such a trivial job.  If you write
a class that encapsulates that takes you may reuse it several times without
having to be reminded of the details of sending e-mails.

If you don't know how to correctly send e-mails, you may reuse a class
written by someone else.  All you need to learn is the class API.  This
level of reusability has been saving many developers thousands of hours,
making their projects viable to deploy.

If you doubt it, you may look at the PHP Classes repository:

http://phpclasses.UpperDesign.com/

There are now over 200 classes that have been used by over 30.000 of PHP
programmers.  Not all classes are that much useful and popular, but in
particular in the top downloads page you can seen that many classes have
been downloaded by many thousands of users:

http://phpclasses.UpperDesign.com/browse.html/top


>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".

Right, like with Java, time will tell what uses of XML are viable and
desirable.



>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.

Yes, everybody wants to invent their own XML format! :-)


>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.

...  unless using such language brings you great benefits that outweight
its costs.


Regards,
Manuel Lemos

Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?[EMAIL PROTECTED]
--
E-mail: [EMAIL PROTECTED]
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--


-- 
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