Initial version needed to be done with some not-standard compliant coding conventions and debugging methodology which I did only partially use. Rest should be PSR compliant.
In the future:
- want to change everything completely to a more modular approach and PSR
- switch everything to OOP
- use PSR compliant methodology
- Added a simple logger functionality (not PSR-3 compliant) which is able to write to the console instead of writing in the DOM
- Added a very simple control, model, view mechanism and routing (dispatching). Therefore the overall link structure changed and setting up a vhost on a local dev environment is recommended:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot <your htdocs>
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot <your htdocs><yourprojectname>
ServerName <yourprojectname>.localhost
</VirtualHost>Training compatible structure and functionality. No separation of concerns, lots of "debugging" messages in the frontend. Treading on common ground to pass the evaluation, although I know that it is not PSR compliant etc. pp.