Suggestions for a few naming rules and some other stuff
Example: In core controllers are named {name}_controller.class.php, but in site it is {name}.class.php.
Example: AppController.php, not App_Controller.php.
Example, Init.php. AppController.php. Not init.php or APPController.php. The same goes for classname. class AppController{}, not class APPController{}
This is UNLESS there is a good reason for it, meaning that the prefixing of 'app' should not be some sort of convention.
The same goes for classnames.
Example, app_request.php => request.php. class APP_Request {} => class Request {}.
Words split by underscore ('_').
Maybe also in their own folder?
Example site_tools.php
Example site_tools.php->Timer().
Should do some of the logic that is done in php-site/index.php. This file can then be in php-core, and php-site would no longer be tied with bootstrapping logic to core.
Everything after the define statements should be moved to this file.
Suggestions for a few naming rules and some other stuff
Example: In core controllers are named {name}_controller.class.php, but in site it is {name}.class.php.
Example: AppController.php, not App_Controller.php.
Example, Init.php. AppController.php. Not init.php or APPController.php. The same goes for classname. class AppController{}, not class APPController{}
This is UNLESS there is a good reason for it, meaning that the prefixing of 'app' should not be some sort of convention.
The same goes for classnames.
Example, app_request.php => request.php. class APP_Request {} => class Request {}.
Words split by underscore ('_').
Maybe also in their own folder?
Example site_tools.php
Example site_tools.php->Timer().
Should do some of the logic that is done in php-site/index.php. This file can then be in php-core, and php-site would no longer be tied with bootstrapping logic to core.
Everything after the define statements should be moved to this file.