4 ms·
Razr is largely inspired by the Razor view engine for ASP.NET. Twig is nice and looks to be inspired by Ruby syntax, something I'm a little more familiar with i
by w0rd-driven 12y ago
Razr is largely inspired by the Razor view engine for ASP.NET. Twig is nice and looks to be inspired by Ruby syntax, something I'm a little more familiar with in using Octopress. Perhaps they wanted to introduce a templating engine that was a little more familiar with someone coming from ASP.NET? I can only really speculate as no definitive reason was given.
Writing their own templating engine is definitely an interesting choice and one that follows the razor syntax makes it even more interesting indeed.
- riquito 12y agoTwig syntax takes from Django/Jinja [1], not Ruby. [1] http://fabien.potencier.org/article/34/templating-engines-in-php http://fabien.potencier.org/article/34/templating-engines-in...