Hacker News new | ask | show | jobs
by baby 3203 days ago
spaguetti PHP has been replaced with PHP in templating. See Blade in laravel for example: https://laravel.com/docs/5.5/blade

So it totally makes sense to continue with this trend. Unless you have a very static website you don't really have a choice.

edit: woot, you don't use <? and ?> in Blade anymore?

1 comments

I don't think you ever used <? and ?>. Only thing I recall is that there was a debate over double "{{" or triple "{{{" as the default for auto-escaping output.