Show HN: Wireframe – A Simple PHP Framework with Routing and Templating
github.com
github.com
Bootstrap Sass Bower NPM and Gulp
Don't hardcode error levels like you do in your bootstrap file (wireframe.php)
ini_set('display_errors', 1);
I am not a fan of setting title from some HTML comments, I can't really understand why you would do this when writing a PHP framework, as you wouldn't be able to make dynamic titles.While nothing wrong with this code as such:
if (file_exists($file)) {
return true;
} else {
return false;
}
It is unnecessary to explicitly return true or false, return file_exists($file);
Would have done the same...Lastly I really think that you should consider using PSR-4 style autoloading for your internal classes, I see no point in not doing it.
As this is my first attempt (well, version 2 of my first attempt), I welcome any feedback, critique, or pointers to where I can improve.