Eusebeia Code
Brought to you by:
r_rafal
File | Date | Author | Commit |
---|---|---|---|
demo | 2011-06-01 | Rafal Radulski | [5df67a] Added ContextFactory |
nbproject | 2011-03-23 | Rafal Radulski | [d695d0] Implemented basic view |
src | 2011-06-01 | Rafal Radulski | [656fd0] Updated version number |
test | 2011-06-01 | Rafal Radulski | [44de56] Added tests for view factories. |
test_data | 2011-06-01 | Rafal Radulski | [44de56] Added tests for view factories. |
.hgignore | 2011-03-24 | Rafal Radulski | [4ee864] Added function calls |
LICENSE.txt | 2011-05-10 | Rafal Radulski | [54e195] Added license and copyright notices |
README.txt | 2011-05-10 | Rafal Radulski | [54e195] Added license and copyright notices |
LICENSE -------------------- You must read and agree to the terms of license before using this product. See: LICENSE.txt INSTALLATION -------------------- Place all files in a location where you have your PHP library files. This can be simple "lib" folder under under your web-root directory. Sample PHP code: <?php include 'Eusebeia/Factory/Basic.php'; $viewFactory = new \Eusebeia\Factory\Basic(); $viewFactory->setBaseDirectory(__DIR__.'/view'); $viewFactory->setCacheDirectory(__DIR__.'/cache'); $view = $viewFactory->getView('page/hello.php'); $view->addValue('users', $users); echo $view->render(); ?> Make sure that "cache" directory is writtable by web server. HELP -------------------- Visit http://radulski.net/eusebeia