Library for parsing and creating our Tabbed Meta Lanuage (TML)
TML is a simple storage language that LSS can use. TML stands for “Tabbed Meta Language” while tabs arent required as a delimiter they are suggested.
app
source /opt/myapp
mirror /data/mirror
blankarray []
packages
usr/lib/news
version 0.0.1
description The news library
depends
main/util/func 0.0.1
manifest
lib/news.php
usr/app-web/news
version 0.0.1
description News front end
depends
main/sys/db 0.0.1
usr/lib/news 0.0.1
manifest
ctl/news.php
tpl/news.tpl.php
news.txt
use \LSS\TML
//setup our test array
$array = array('test'=>'test1','test2'=>'test3');
//conert array to TML
$tml = TML::fromArray($array);
//convert TML to array
$array = TML::toArray($tml);
Language | php |
Version | 0.0.0 |
Git URL | https://github.com/nullivex/lib-tml |
License | GPL-3.0 |
Description | Library for parsing and creating our Tabbed Meta Lanuage (TML) |
Keywords |