4 comments

[ 3.8 ms ] story [ 13.5 ms ] thread
(comment deleted)
(comment deleted)
I didn't quite understand why Latte over Blade?
Well, the main difference is in input sanitazation. Take a look at this example of latte docs: https://latte.nette.org/en/safety-first#toc-latte-vs-naive-s....

Since different parts of user input have to be handled differently, you need to escape based on the context of the input. And that's exactly what latte does, whereas Blade or Twig escape everything the same way, no matter the context.