Sin descripción

Taddeus Kroes a8d161ebe0 Added PHPActiveRecord as a submodule hace 13 años
php-activerecord @ 8a18add32c a8d161ebe0 Added PHPActiveRecord as a submodule hace 13 años
tests 3e255e540d Session::destroy() now also removes session data from cookie hace 13 años
.gitignore b606f3f97c Added PHPActiveRecord directory (from security branch) to ignore file hace 13 años
.gitmodules a8d161ebe0 Added PHPActiveRecord as a submodule hace 13 años
LICENSE.txt 3ad171b6dd Added MIT license. hace 13 años
Makefile 56fc98a2fd Updated Makefile to use rsync instead of scp. hace 13 años
README.md 1677e70bf4 Changed README to a .md file hace 13 años
TODO.txt 6fb07ae57d Updated TODO list hace 13 años
autoloader.php 62641b42c0 Simplified Autoloader class into an easy-to-use singleton hace 13 años
base.php 62641b42c0 Simplified Autoloader class into an easy-to-use singleton hace 13 años
collection.php 5fc053883c Removed finished TODO hace 13 años
handlers.php 6330dd0db2 Added some more handlers with built-in security support hace 13 años
logger.php 3566402f10 Camelized class method names hace 13 años
node.php 3566402f10 Camelized class method names hace 13 años
phpdoc.dist.xml c7d4d826a6 Ignored PHPActiveRecord directory from unit tests and documentation hace 13 años
phpunit.xml c7d4d826a6 Ignored PHPActiveRecord directory from unit tests and documentation hace 13 años
router.php 8c329e4c42 Added RouteHandler functionaity to Router class hace 13 años
security.php 5614a4debc Security class now implements the Singleton interface hace 13 años
session.php 3e255e540d Session::destroy() now also removes session data from cookie hace 13 años
template.php d379120eff Template class now uses FormattedException instead of RuntimeException hace 13 años
utils.php a733b45e0f Added utilities file with camelize() function hace 13 años
webbasics.php 129dbc4fdd Added Session class hace 13 años

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.