Twig Next Generation (short Twig-NG or Twig++) is a new groundbreaking web technology which allows you to program things that seemed impossible until now.
It is the most powerful template engine that has ever been developed!
The new implementation of the Twig template language enables many new programming paradigms such as:
- Anonymous functions
- Automatic escaping of dynamic content
- Complex control flow
- Dynamic tags
- Foreign function interface
- Fully expandable with custom tags
- Function expressions
- Method chaining
- String interpolation
- Template inheritance
- Turing-complete programming language
Do not let these abstract concepts confuse you, just read the documentation, which contains many examples. Then you will know what is meant and why the Template Engine is revolutionary.