Hi, I am creating a HTML template engine for some new software I am creating and need some advice on the syntax.
HTML Template Engine Syntax Question
4
Hi,
I am creating a HTML template engine for some new software I am creating and need some advice on the syntax.
I need a reliable way to notify to the template engine that "here comes a command".
The templates will be parsed to find commands that will be executed by the templating engine.
After that, the commands will be substituted for some valid html or text.
I have seen many different types of syntaxes for templating engines, and I just want to what is the best way to denote commands/substitutions in the template code.
Examples of syntaxes are [[ tempate code ]], { { template code } } <% template code %>, { tempate code }.
What should I select?
~Olav
I am creating a HTML template engine for some new software I am creating and need some advice on the syntax.
I need a reliable way to notify to the template engine that "here comes a command".
The templates will be parsed to find commands that will be executed by the templating engine.
After that, the commands will be substituted for some valid html or text.
I have seen many different types of syntaxes for templating engines, and I just want to what is the best way to denote commands/substitutions in the template code.
Examples of syntaxes are [[ tempate code ]], { { template code } } <% template code %>, { tempate code }.
What should I select?
~Olav
- Brandon Tanner
- [1] reply
- olavlind
- [1] reply
Next Topics on Trending Feed
-
4