Back to Hell-licensed code

Zen is yet another PHP template system (TS) focused on keeping maximum functionality from other TS while adding minimum own syntax (using all the features of PHP as TS) with the simplest possible code. Every programmer can write complicated code, but if you learn, you need to code less and less, until you write simple code. This is the Zen philosophy of coding.

It is, of course, hell licensed, having 666 bytes code zen.php with basic functionality. It has many extensions (and you can easily add your own) in zen-ext.php (it has under 3 kB commented code). Just for fun, there is also the core of the system (merely replacing curly braces for php tags and interpreting the PHP code) in zen0.php having just 98 bytes.


If you are familiar with PHP, it will take you some 10 minutes max to learn all about Zen in the following tutorial. To use it on your own server, start with this

<?php include "zen.php"; include "zen_ext.php"; echo zen("yourTemplate.zen"); ?> and learn the features you can use in zen files:

Zen Tutorial