Hi,
I wrote a RFC that proposes removal of PHP tags. There is actually
strong public demand for it, and I also think it is necessary to
leverage PHP to a genuine, modern scripting language.
http://wiki.php.net/rfc/nophptags
Regards,
Moriyoshi
Removing PHP's native feature of being able to be easily embedded inside
HTML and other markup languages is absolutely retrograde. Of of the biggest
points in favor of PHP is that i'm able to easily do this:
Or this:
<?xml version="1.0" ?>
<store>
<?php foreach ($stuff as $item): ?>
<product><?php echo $item ?></product>
<?php endforeach; ?>
</store>
Without having to implement any slow-as-hell template language. It works
right out of the box. Using MVC as an argument for tag removal is a clear
disrespect to the language itself.
What many people fail to see is that PHP is it's own templating language.
It might be ugly for people used to other template languages, but it works
perfectly and right out of the box.
On Sat, Mar 31, 2012 at 11:24 PM, Klaus Silveira klaussilveira@php.netwrote:
Removing PHP's native feature of being able to be easily embedded inside
<ul> <?php foreach ($stuff as $item): ?> <li><?php echo $item ?></li> <?php endforeach; ?> </ul>
HTML and other markup languages is absolutely retrograde. Of of the biggest
points in favor of PHP is that i'm able to easily do this:Or this:
<?xml version="1.0" ?>
<store>
<?php foreach ($stuff as $item): ?>
<product><?php echo $item ?></product>
<?php endforeach; ?>
</store>Without having to implement any slow-as-hell template language. It works
right out of the box. Using MVC as an argument for tag removal is a clear
disrespect to the language itself.
Hi:
sorry for say that, but the only benifit I can see, is save 5+ characters...
thanks
What many people fail to see is that PHP is it's own templating language.
It might be ugly for people used to other template languages, but it works
perfectly and right out of the box.On Sat, Mar 31, 2012 at 11:24 PM, Klaus Silveira klaussilveira@php.netwrote:
Removing PHP's native feature of being able to be easily embedded inside
<ul> <?php foreach ($stuff as $item): ?> <li><?php echo $item ?></li> <?php endforeach; ?> </ul>
HTML and other markup languages is absolutely retrograde. Of of the biggest
points in favor of PHP is that i'm able to easily do this:Or this:
<?xml version="1.0" ?>
<store>
<?php foreach ($stuff as $item): ?>
<product><?php echo $item ?></product>
<?php endforeach; ?>
</store>Without having to implement any slow-as-hell template language. It works
right out of the box. Using MVC as an argument for tag removal is a clear
disrespect to the language itself.
--
Laruence Xinchen Hui
http://www.laruence.com/
Hi,
I wrote a RFC that proposes removal of PHP tags. There is actually
strong public demand for it, and I also think it is necessary to
leverage PHP to a genuine, modern scripting language.
I really doubt this will find much support, and note that PHP came well before ASP so that part of the RFC is factually inaccurate.
-Rasmus
Ok, I'll try to fix that part. Thanks for the correction.
Moriyoshi
Hi,
I wrote a RFC that proposes removal of PHP tags. There is actually
strong public demand for it, and I also think it is necessary to
leverage PHP to a genuine, modern scripting language.I really doubt this will find much support, and note that PHP came well before ASP so that part of the RFC is factually inaccurate.
-Rasmus
Ok, I'll try to fix that part. Thanks for the correction.
No problem. Keeping the April 1st RFCs factually accurate is a top priority around here.
-Rasmus
Well played Moriyoshi. Well played.
Brian.
http://brian.moonspot.net
Ok, I'll try to fix that part. Thanks for the correction.
No problem. Keeping the April 1st RFCs factually accurate is a top priority around here.
-Rasmus
-_#.......
Nice play ,Moriyoshi sama!
Sent from my iPhone
在 2012-4-1,11:03,Rasmus Lerdorf rasmus@lerdorf.com 写道:
Ok, I'll try to fix that part. Thanks for the correction.
No problem. Keeping the April 1st RFCs factually accurate is a top priority around here.
-Rasmus
-_#.......
Nice play ,Moriyoshi sama!Sent from my iPhone
在 2012-4-1,11:03,Rasmus Lerdorf rasmus@lerdorf.com 写道:
Ok, I'll try to fix that part. Thanks for the correction.
No problem. Keeping the April 1st RFCs factually accurate is a top
priority around here.-Rasmus
--
Damnit! I just got April Fools punked for the first time since I was a
kid! Now how am I supposed to look down my nose at everyone else?! Thanks
a lot, Moriyoshi.
Though does it count if it's still March 31st over here? ;)
--Kris
Though does it count if it's still March 31st over here? ;)
--Kris
Nope, you've been caught! (=
Am 01.04.2012 03:59, schrieb Moriyoshi Koizumi:
Hi,
I wrote a RFC that proposes removal of PHP tags. There is actually
strong public demand for it, and I also think it is necessary to
leverage PHP to a genuine, modern scripting language.
nice 1st april joke........