Aucune description

Taddeus Kroes dc767897b4 Added link to docs in README il y a 13 ans
tests 62641b42c0 Simplified Autoloader class into an easy-to-use singleton il y a 13 ans
.gitignore b606f3f97c Added PHPActiveRecord directory (from security branch) to ignore file il y a 13 ans
LICENSE.txt 3ad171b6dd Added MIT license. il y a 13 ans
Makefile 56fc98a2fd Updated Makefile to use rsync instead of scp. il y a 13 ans
README.md dc767897b4 Added link to docs in README il y a 13 ans
TODO.txt 6fb07ae57d Updated TODO list il y a 13 ans
autoloader.php 62641b42c0 Simplified Autoloader class into an easy-to-use singleton il y a 13 ans
base.php 62641b42c0 Simplified Autoloader class into an easy-to-use singleton il y a 13 ans
collection.php 5fc053883c Removed finished TODO il y a 13 ans
handlers.php 6e91a09d5c Unit tested handlers.php, solving some bugs il y a 13 ans
logger.php 64256da642 Fixed missing camelcase rename in Logger il y a 13 ans
node.php 3566402f10 Camelized class method names il y a 13 ans
phpdoc.dist.xml c7d4d826a6 Ignored PHPActiveRecord directory from unit tests and documentation il y a 13 ans
phpunit.xml c7d4d826a6 Ignored PHPActiveRecord directory from unit tests and documentation il y a 13 ans
router.php 8c329e4c42 Added RouteHandler functionaity to Router class il y a 13 ans
session.php 9439865665 Updated some docs il y a 13 ans
template.php d379120eff Template class now uses FormattedException instead of RuntimeException il y a 13 ans
utils.php a733b45e0f Added utilities file with camelize() function il y a 13 ans
webbasics.php 129dbc4fdd Added Session class il y a 13 ans

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.

A build of the documentation is available here.