Sen descrición

Taddeus Kroes b09f6f6c84 Output buffering is now closed earlier in session unit tests %!s(int64=13) %!d(string=hai) anos
tests b09f6f6c84 Output buffering is now closed earlier in session unit tests %!s(int64=13) %!d(string=hai) anos
.gitignore 34905f8bb3 First set of files: %!s(int64=13) %!d(string=hai) anos
LICENSE.txt 3ad171b6dd Added MIT license. %!s(int64=13) %!d(string=hai) anos
Makefile 56fc98a2fd Updated Makefile to use rsync instead of scp. %!s(int64=13) %!d(string=hai) anos
README.md 1677e70bf4 Changed README to a .md file %!s(int64=13) %!d(string=hai) anos
TODO.txt f8b5f75404 Added some items to TODO list %!s(int64=13) %!d(string=hai) anos
autoloader.php 3566402f10 Camelized class method names %!s(int64=13) %!d(string=hai) anos
base.php b646dfc0c1 Added FormattedException to base file %!s(int64=13) %!d(string=hai) anos
collection.php 5fc053883c Removed finished TODO %!s(int64=13) %!d(string=hai) anos
handlers.php aba7957532 Added BaseHandler implementation (needs unit tests) %!s(int64=13) %!d(string=hai) anos
logger.php 3566402f10 Camelized class method names %!s(int64=13) %!d(string=hai) anos
node.php 3566402f10 Camelized class method names %!s(int64=13) %!d(string=hai) anos
phpdoc.dist.xml c39f63146d Now using phpdoc template 'abstract' %!s(int64=13) %!d(string=hai) anos
phpunit.xml 99f5310756 Aded build directory to ignored phpunit files %!s(int64=13) %!d(string=hai) anos
router.php 8c329e4c42 Added RouteHandler functionaity to Router class %!s(int64=13) %!d(string=hai) anos
session.php 129dbc4fdd Added Session class %!s(int64=13) %!d(string=hai) anos
template.php d379120eff Template class now uses FormattedException instead of RuntimeException %!s(int64=13) %!d(string=hai) anos
webbasics.php 129dbc4fdd Added Session class %!s(int64=13) %!d(string=hai) anos

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.