Re:25 Years of PHP
by cutler on Wednesday June 10, 2020 @09:11PM
(#23484200)
Why is the use of Blade(Laravel) or Twig(Symfony) any more acceptable than Smarty?
[ Parent
| on HN ]
Re:25 Years of PHP
by coding_lobster on Thursday June 11, 2020 @03:51AM
(#23486233)
I personally like having the front end templates separated from the server code as much as possible. I think Blade accomplishes this while also providing you with a syntax that is much more readable than Smarty. On top of that I feel like Blade isn't necessarily trying to do as much as Smarty.
EDIT: I certainly prefer using Blade to doing the old '<a href="' . $url . '">... and other similar variants.