1
Here are two experimental modules to test a new approach to module building.
Originally, when I started to add namespaces to our modules, I also added common classes in /class/Common/
The plan was to group them together, so later on we could move them to one common location for all modules. The new central location would become a kind of "incubator" for common functionality, and the Core team could decide which ones could eventually be moved into
XMF (XOOPS Module Framework) Inspired by what
Tad did with his "TadTools", I started to work on "
MTools", and this is the first experimental version:
1) Install first the
MTools 2) Then you can install "
Quotes" module to test it
Thanks to Namespaces, we can now call all the "Common" classes directly from MTools.
Bugs are expected, since this is still in "experimental" phase, but the module should install and when you install the Testdata, it should (hopefully), at least in Admin, show the Quotes and Authors.
FYI: Blocks have not been installed/tested, so don't test them.
REQUIREMENTS: - XOOPS 2.5.10
- PHP 7+ (works on PHP 8)