A PHP script / API endpoint that will generate the Roman Catholic liturgical calendar for any given year, calculating the mobile festivities and the precedence of solemnities, feasts, memorials...
This project is not currently implementing namespacing.
This is not a best practice in PHP coding.
To better follow PSR-12 standards, we should:
1) keep all classes in their own separate files
2) namespace all classes under the LitCal namespace
3) implement autoloading rather than including all required classes with include or require statements
This project is not currently implementing namespacing.
This is not a best practice in PHP coding.
To better follow PSR-12 standards, we should:
1) keep all classes in their own separate files 2) namespace all classes under the
LitCal
namespace 3) implement autoloading rather than including all required classes withinclude
orrequire
statementsAnd the API endpoints can be set to simple paths rather than PHP files, for example: -> https://litcal.johnromanodorazio.com/api/dev/ instead of https://litcal.johnromanodorazio.com/api/dev/LitCalEngine.php
-> https://litcal.johnromanodorazio.com/api/dev/regionaldata instead of https://litcal.johnromanodorazio.com/api/dev/LitCalRegionalData.php
etc.