Answer the question
In order to leave comments, you need to log in
How do you use twig or smaty?
They can simplify foreach, if and echo. How do you display breadcrambs, menu, form widgets? Are they with <?php ?> already or are there convenient ways?
Answer the question
In order to leave comments, you need to log in
With them, you can simplify foreach, if and echoSimplify? Hardly templating for this. What could be simpler than foreach, if and echo? The main task of the template engine is to separate the display from the application logic. They are easier to shield. There are other goodies, but certainly not a simplification of foreach, if and echo.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question