Moriyoshi Koizumi | 1 Apr 03:59 2012
Picon

[PHP-DEV] RFC: Removing PHP tags

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 | 1 Apr 04:24 2012
Picon
Picon

Re: [PHP-DEV] RFC: Removing PHP tags

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 | 1 Apr 04:29 2012

Re: [PHP-DEV] RFC: Removing PHP tags

On Mar 31, 2012, at 6:59 PM, Moriyoshi Koizumi <mozo <at> mozo.jp> 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 | 1 Apr 04:31 2012
Picon
Picon

Re: [PHP-DEV] RFC: Removing PHP tags

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 <at> php.net>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.
>
(Continue reading)

Laruence | 1 Apr 04:38 2012
Picon
Picon

Re: [PHP-DEV] RFC: Removing PHP tags

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 <klaussilveira <at> php.net> 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 <klaussilveira <at> php.net>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>
(Continue reading)

Moriyoshi Koizumi | 1 Apr 04:45 2012
Picon

Re: [PHP-DEV] RFC: Removing PHP tags

Ok, I'll try to fix that part. Thanks for the correction.

Moriyoshi

On Sun, Apr 1, 2012 at 11:29 AM, Rasmus Lerdorf <rasmus <at> lerdorf.com> wrote:
> On Mar 31, 2012, at 6:59 PM, Moriyoshi Koizumi <mozo <at> mozo.jp> 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 | 1 Apr 05:02 2012

Re: [PHP-DEV] RFC: Removing PHP tags

On Mar 31, 2012, at 7:45 PM, Moriyoshi Koizumi <mozo <at> mozo.jp> 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 | 1 Apr 05:23 2012
Picon

Re: [PHP-DEV] RFC: Removing PHP tags

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<mozo <at> mozo.jp>  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 | 1 Apr 05:27 2012
Picon

Re: [PHP-DEV] RFC: Removing PHP tags


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 | 1 Apr 05:38 2012
Picon

Re: [PHP-DEV] RFC: Removing PHP tags

-_#.......
Nice play ,Moriyoshi sama!

Sent from my iPhone

在 2012-4-1,11:03,Rasmus Lerdorf <rasmus <at> lerdorf.com> 写道:

> On Mar 31, 2012, at 7:45 PM, Moriyoshi Koizumi <mozo <at> mozo.jp> 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


Gmane