Stig Sæther Bakken wrote:
> Will newbies really use XHTML?

Right now? Probably not. Or at least it's rare.
But I hope this will change, and IMHO PHP shouldn't be standing in 
XHMTL's way.

>  Anyway, people have been embedding
> PHP in WML and other XML formats without visible problems for a while
> now.

So far people embedding PHP in XML-documents were people who knew what 
they were doing. Ever seen someone do his private homepage in WML?

> IF we are to add another Apache type mapping for this, it should be
> "application/x-httpd-php-xml".

Ack.

>  IMHO it adds complexity to PHP
> without really solving any problems that could not be "configured
> around".

You got a point here, but I see two issues.

First, configuring around is more difficult. Even if it's documented, 
it woud always be custom configuration. The additional Apache type 
might be part of the default config.
If using PHP inside XML makes an httpd.conf or .htaccess modification 
necessary, it is sure to scare of some newbies, who might have used 
XHMTL otherwise.
Making it easier to use PHP embedded in XML is not going to save the 
world, but scaring less newsbies off using XHMTL should be good enough 
for some warm fuzzy feeling, shouldn't it? ;-)

Anyway, some day in the future, when using XHTML is more common, it 
will be a problem that php in default config is not embeddable in 
XHTML. Solving the problem before it actually occurs might be a good 
idea.

Second, many ISPs use CGI-sandboxes, neither php_value nor the 
alternative Apache type will work there, will they? What about this? 
What about non-APXS server-APIs?

Maybe the Apache-Type approach is bullshit, but the problem is there, 
and IMHO now (or after 4.07 is final) might be just the right time to 
solve it.

regards
Wagner

-- 
"Ein Mathematiker ist eine Maschine, die Kaffee in Theoreme verwandelt."
Paul Erdös, Mathematiker, 1913-1996

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