Skip to content

menaka123/simple_php_template_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task:

Build a simple template engine in a language of your choice (extra credit for PHP),
that takes template.tmpl (no touching) and the following variables (format them for your chosen language) as input.



Variables:

Name  = "Your name goes here"
Stuff = [
  [
    Thing = "roses",
    Desc  = "red"
  ],
  [
    Thing = "violets",
    Desc  = "blue"
  ],
  [
    Thing = "you",
    Desc  = "able to solve this"
  ],
  [
    Thing = "we",
    Desc  = "interested in you"
  ]
]



More extra credit:

Use (and handle) extra.tmpl instead of template.tmpl

About

its a simple template engine to use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages