BibleGet-I-O / bibleget-wordpress

Plugin for WordPress that let's you insert Bible quotes into your posts or pages from a variety of Bible versions in different languages. This is a mirror of the SVN repo where the plugin gets published to the WordPress plugins store. Kudos to @kas-catholic for helping import the repo from SVN.
https://www.bibleget.io
Apache License 2.0
0 stars 2 forks source link

Move more code to classes and implement autoloading #25

Open JohnRDOrazio opened 3 months ago

JohnRDOrazio commented 3 months ago

In order to avoid any potential conflicts with other plugins, it's better to use namespaced classes. An added perk is using PSR-12 autoloading. Even if WordPress is not implementing PSR-12 autoloading (classes are loaded automatically if the file has the same name as the class and the directory names follow the namespaces), I think I'll prefer to use PSR-12 autoloading without having to generate a dump for all the classes.

JohnRDOrazio commented 3 months ago

Currently taking care of this in the oop-dev branch