I use Twig a lot. I'd say a pro would be that your templates will be waaay neater than pure PHP while the obvious con is that you have to learn yet another language. If you want to give it a shot, it works wonders with Symfony. Look it up.
Sure, Thanks for the feedback Laurentiu :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I use Twig a lot. I'd say a pro would be that your templates will be waaay neater than pure PHP while the obvious con is that you have to learn yet another language.
If you want to give it a shot, it works wonders with Symfony. Look it up.
Sure, Thanks for the feedback Laurentiu :)