This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit fab924f8bee5fb2197a64315599ca9717b057691
tree f02167b9de00eda0968a4a313d4fa035cf25458e
parent 521a53da9545b2c5e637486864333ec9b8a6b187
tree f02167b9de00eda0968a4a313d4fa035cf25458e
parent 521a53da9545b2c5e637486864333ec9b8a6b187
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
MIT-LICENSE | ||
| |
README | ||
| |
assets/ | ||
| |
coverage/ | ||
| |
lib/ | ||
| |
tests/ |
README
Joeh-Template is a fast template engine for PHP5, using pure PHP syntax, and generating PHP compatible code for all PHP
installations.
The main idea is just let developers to use PHP inside templates, but without let that developers write ugly code,
difficulting manutenability.
Functionalities:
1 - PHP tags must close in same line that were opened:
good:
<? if($var) { ?>
<p>that's ok</p>
<? } ?>
bad:
<?
if($var) {
?>
<p>oopss, wrong syntax</p>
<?
}
?>
2 - Short PHP tags will be replaced for long tags in compiled code, for compability purposes
from:
<? if($var) { ?>
<?= $var ?>
<? } ?>
to:
<?php if($var) { ?>
<? echo $var ?>
<?php } ?>







