Skip to content
Ryan Fischbach edited this page Dec 1, 2016 · 6 revisions

Welcome to the phpBitsTheater wiki!

I started writing this framework as a means to learn PHP as it was suggested as a means to really understand all the magic of PHP. As I needed to learn what the differences were from PHP 4 to PHP 5 as well as strengthen my grasp of PHP in general, diving into a project like this seemed the ideal learning process. I must say, I learned quite a bit from the experience.

My overall thought process for the design of the framework can be found in the Readme.md as well as here.

The framework comes with two styles of user permissions:

  • auth_none: This style will just authorize any and all right checks.
  • auth_basic: Permissions / Rights

You can define define('WEBAPP_NAMESPACE','my_namespace\\'); //always end with "\\" inside [site_root]/appdefines.php in order to use your own namespace. Once defined, you can use the namespace in your classes for a namespace, if desired. You also have WEBAPP_PATH and WEBAPP_JS to use in case you want them. Please note that WEBAPP_JS is located in app/js and simple minimization instructions are also located there (including a Windows batch file). Example use from inside a view.php file: $w .= '<script type="text/javascript" src="'.WEBAPP_JS.'my_js_stuff.js"></script>';

Logo (http://imgur.com/DAqzg7E)