Every game section will be built upon a base class that has filtering (automatic filtering for $_POST and $_GET), and for outputting data. Some security experts have stated that you can’t prevent hacking just by filtering input, but also checking and filtering output for XSS attacks. The Filtering will be part of the base class functionality, so that it will be available to all child classes, because I’m tired of having to copy crap over and over again. I just may be able to get rid of the damn get_magic_quotes_gpc() checks (which would get the classes ready for PHP 6).
Every game part will be built off the game module, so everything I put in the base game class will be available to all of the child classes, which should increase the functionality and expandablity of the game. The filtering class will also allow the person to create their own classes to extend the functionality further. As well, as the same will be true to the base game class.
Possibly Related Posts:
- Mecha Asylum Design Document
- Data Store is Finished, but Still Imperfect
- If You Look at it This Way
- Configuration SPL Usage
- New Configuration Factory Possible Features