[Cppcms-users] razor like syntax for templates
Brought to you by:
artyom-beilis
|
From: Marcel H. <ke...@co...> - 2013-05-14 11:22:03
|
Hi *, the current template "language" is inspired by asp.net. The syntax with <% ... %> is equal to the one asp.net uses. My Idea is to use a different syntax, namely the successor razor where you can replace all the <% with a simple @. For a simple review see [0] Now my question is, are you willing to use this, or do you like to have this feature. i would try to implement this. For now it's a simple python script that will convert the template to a cpp file, so it should not be that hard. Regards Marcel Hellwig [0] http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx |