Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jakub Kuritka  >  PHP JUI templating system  >  index.php  >  Download  
File: index.php
Role: Application script
Content type: text/plain
Description: index file
Class: PHP JUI templating system
Build HTML user interfaces from JSON definitions
Author: By
Last change: Now we are using YAML instead of JSON, but JSON serializer still exists, so it can be used
Date: 2 years ago
Size: 167 bytes
 

Contents

Class file image Download
<?php
require_once "./JUI/Jui.php";

$parser JUI\Resources::getParser();

$index $parser->parse(file_get_contents("./View/index.yaml"));

echo 
$index->render();
?>