Published September 19, 2022 | Version v1
Journal article Open

Comparison of template engines of PHP frameworks

  • 1. Varna Free University

Description

In this study, we compared two common template Engines - Blade and Twig, which are closely related, but have some very strong differences. Blade belongs to the Laravel CMF, which is built on top of the Symfony CMF. The Symfony CMF itself has its own template engine called Twig. As a result, we want to find answers of several important questions: what are the differences between Blade and Twig that made it desirable for the Laravel developers to come up with a new template engine besides Twig; how do Twig and Blade answer to developer needs and to make some objective suggestions that can help choosing between the two engines.

Files

mse-Spasova_Raiu-2022-1-2.pdf

Files (475.9 kB)

Name Size Download all
md5:7a2a987ec19626e21f2b9e9a0a7e0556
475.9 kB Preview Download

Additional details

Related works

Is published in
Journal article: http://varepsilon.com/index.php/mse/article/view/71/68 (URL)

References