Re: New escaped output operator
| From: | Rasmus Schultz | Date: | Mon, 20 Jun 2016 15:51:44 +0000 |
| Subject: | Re: New escaped output operator | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94152@lists.php.net to get a copy of this message | ||
> My PHP is augmented with Smarty so I know which are template files and
> which are program code :)
I name my template files "*.view.php", so I know which is which.
I also head off every file with /** @var MyViewModel $view */ for IDE
support and inspections with CS/MD/phan, etc.
If you're curious: https://github.com/mindplay-dk/kisstpl
I quit smarty many years ago, and I will not use a template engine,
ever again - I don't want to write my views in an entirely different
language in favor of some convenience; especially when that
convenience comes with another whole slew of inconveniences...