Bez popisu

Taddeus Kroes 9bbdf37ced Updated TODO list před 13 roky
tests 522e75f09b Added Singleton interface před 13 roky
.gitignore b606f3f97c Added PHPActiveRecord directory (from security branch) to ignore file před 13 roky
LICENSE.txt 3ad171b6dd Added MIT license. před 13 roky
Makefile 56fc98a2fd Updated Makefile to use rsync instead of scp. před 13 roky
README.md 1677e70bf4 Changed README to a .md file před 13 roky
TODO.txt 9bbdf37ced Updated TODO list před 13 roky
autoloader.php 3566402f10 Camelized class method names před 13 roky
base.php 522e75f09b Added Singleton interface před 13 roky
collection.php 5fc053883c Removed finished TODO před 13 roky
handlers.php 6e91a09d5c Unit tested handlers.php, solving some bugs před 13 roky
logger.php 3566402f10 Camelized class method names před 13 roky
node.php 3566402f10 Camelized class method names před 13 roky
phpdoc.dist.xml c39f63146d Now using phpdoc template 'abstract' před 13 roky
phpunit.xml 99f5310756 Aded build directory to ignored phpunit files před 13 roky
router.php 8c329e4c42 Added RouteHandler functionaity to Router class před 13 roky
session.php 522e75f09b Added Singleton interface před 13 roky
template.php d379120eff Template class now uses FormattedException instead of RuntimeException před 13 roky
utils.php a733b45e0f Added utilities file with camelize() function před 13 roky
webbasics.php 129dbc4fdd Added Session class před 13 roky

README.md

WebBasics

Summary

WebBasics is a set of classes that provides the minimal functionalities of a website. The core exists of a class autoloader, a template parser, a logger and some array manipulation functions. No MVC 'model' implementation is included, there are already many of these out there (PHPActiveRecord is recommended).

Unit tests

Unit tests are located in the 'tests/' directory. PHPUnit is used to run tests. The PHP extension Xdebug needs to be installed in order to generate a code coverage report. To run all unit tests, simply run 'phpunit' in the root directory.

Documentation

PhpDocumentor can be used to generate documentation in the 'build/docs/' directory. Just run 'phpdoc' in the root directory.