Welcome! Log In Create A New Profile

Advanced

[PHP-DEV] RFC: Removing PHP tags

Posted by Moriyoshi Koizumi 
Moriyoshi Koizumi
[PHP-DEV] RFC: Removing PHP tags
April 01, 2012 04:10AM
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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Klaus Silveira
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 04:30AM
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:

<ul>
<?php foreach ($stuff as $item): ?>
<li><?php echo $item ?></li>
<?php endforeach; ?>
</ul>

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.
Rasmus Lerdorf
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 04:40AM
On Mar 31, 2012, at 6:59 PM, Moriyoshi Koizumi <[email protected]> wrote:

> 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

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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Klaus Silveira
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 04:40AM
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 <[email protected]>wrote:

> 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:
>
> <ul>
> <?php foreach ($stuff as $item): ?>
> <li><?php echo $item ?></li>
> <?php endforeach; ?>
> </ul>
>
> 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
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 04:40AM
Hi:
sorry for say that, but the only benifit I can see, is save 5+ characters...

thanks

On Sun, Apr 1, 2012 at 10:31 AM, Klaus Silveira <[email protected]> wrote:
> 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 <[email protected]>wrote:
>
>> 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:
>>
>> <ul>
>> <?php foreach ($stuff as $item): ?>
>> <li><?php echo $item ?></li>
>> <?php endforeach; ?>
>> </ul>
>>
>> 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/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Moriyoshi Koizumi
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 04:50AM
Ok, I'll try to fix that part. Thanks for the correction.

Moriyoshi

On Sun, Apr 1, 2012 at 11:29 AM, Rasmus Lerdorf <[email protected]> wrote:
> On Mar 31, 2012, at 6:59 PM, Moriyoshi Koizumi <[email protected]> wrote:
>
>> 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
>
> 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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Rasmus Lerdorf
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 05:10AM
On Mar 31, 2012, at 7:45 PM, Moriyoshi Koizumi <[email protected]> wrote:

> 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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Brian Moon
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 05:30AM
Well played Moriyoshi. Well played.

Brian.
http://brian.moonspot.net

On 3/31/12 10:02 PM, Rasmus Lerdorf wrote:
> On Mar 31, 2012, at 7:45 PM, Moriyoshi Koizumi<[email protected]> wrote:
>
>> 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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Reindl Harald
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 05:30AM
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.
>
> http://wiki.php.net/rfc/nophptags

nice 1st april joke........
Xinchen Hui
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 05:40AM
-_#.......
Nice play ,Moriyoshi sama!

Sent from my iPhone

在 2012-4-1,11:03,Rasmus Lerdorf <[email protected]> 写道:

> On Mar 31, 2012, at 7:45 PM, Moriyoshi Koizumi <[email protected]> wrote:
>
>> 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
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Kris Craig
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 06:30AM
On Sat, Mar 31, 2012 at 8:38 PM, Xinchen Hui <[email protected]> wrote:

> -_#.......
> Nice play ,Moriyoshi sama!
>
> Sent from my iPhone
>
> 在 2012-4-1,11:03,Rasmus Lerdorf <[email protected]> 写道:
>
> > On Mar 31, 2012, at 7:45 PM, Moriyoshi Koizumi <[email protected]> wrote:
> >
> >> 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
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
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
Daniel Macedo
Re: [PHP-DEV] RFC: Removing PHP tags
April 01, 2012 05:00PM
> Though does it count if it's still March 31st over here?  ;)
>
> --Kris

Nope, you've been caught! (=

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login