News for hackers. Stuff that matters.
Re:PHP 7 Virtual Machine by my_ghola on Monday April 17, 2017 @02:33AM (#14129548)
PHP is not a templating language. You can build a template engine with it, but then, you can build one with any other language.

If your app is in swift or objective-c, look into template libraries for those languages. Simple Google search tells me there's a couple of options including one using handlebar's format.

Re:PHP 7 Virtual Machine by DenisM on Monday April 17, 2017 @10:25AM (#14131058)
How is this not a template? It generates valId HTML out of data.

  <?php 
  for ($x = 0; $x <= 10; $x++) {
    echo "The number is: $x   <br>";
  } 
?>