NanoFramework 1.4.0
A tiny PHP Framework
Limitations

Here is a list of things that are known unfixable bugs:

Variables cannot contain $ signs as the first character

This causes a problem in PHP. The following code will show an example:

<?php
$identity = 'John Doe';
$variable_name = 'identity';
echo $variable_name; // displays: identity
echo $$variable_name; // displays: John Doe
?>

In views, conditions cannot occur in loops

As conditions are treated before loops, one cannot add a loop that contains a condition.

Take the two following examples:

Working:

<h1>Articles</h1>
{if articles}
{article}
<ul>
<li>{title}</li>
</ul>
{/articles}
{else}
<p>There are no articles</p>
{endif}

Not working:

<h1>Articles</h1>
{article}
<ul>
{if public_article}
<li>{title}</li>
{endif}
</ul>
{/articles}

In the second example, as public_article will be evaluated before {article} is parsed, it will always be false as non-existant.