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

Reply via email to