Skip to content

SiktiesSoftware/P-SkillioFramework-TemplateEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skillio framework - Template engine

Hi, welcome to my project, hope you will like it !
> ENJOY <

Languages and libraries used for this project

Languages


Databases


Libraries


The project

The project consists of creating a template engine in PHP to create my own "language".
The template engine will translate .skiliox language into php.
On the skilio framework, there is some VIEWS which are the front-end of the website. The role of the new extension .skilio is to make the template engine recognize the files and translate some elements from the view into php to delete all the tags on the view and let uniquely some basic tags [for] ... [/for]

Features

for [for $i = 0; $i < count($array); $i++] {{ $array[$i] }} [/for] // ["foo", "too", "boo"] => foo \n too \n boo
if [if $i < 5] // TRUE [else if $i > 6] // FALSE TRUE [else] //FALSE FALSE [/if]
foreach [foreach $foo as $key => $value] ... [/foreach]
while [while $i < 5] ... [/while]
do while [do] ... [/while $i < 5]
debug [dump $var]

Contributors

Damien Loup

Other links

Portfolio
Skilioframework

About

A template engine for my framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published