MODX Library
The MODX Library, libmodx for short, provides standard APIs and classes for working with MODs. It allows a shared code base and easier interaction between tools that handle MODs. Our existing tools (AutoMOD, UMIL, MPV, Generator, Creator) should then use the APIs provided by the library. Ports to other languages may be interesting at some point but first of all it will be implemented in PHP, obviously.
Currently every tool implements its own parsing or writing. This should be unified.
Since AutoMOD is to be part of phpBB 3.1, and AutoMOD should use it, it needs to follow the phpBB 3.1 code standards. The idea is to include this with phpBB 3.1.
Components
Model: Data representation. Classes that represent a MOD, its meta data, its actions, etc.
IO: Input/Output handling. Load a MOD into the model from an xml/zip. Save the model as an xml/zip.
Where possible these classes and tools should use abstraction. You could write a MOD into various formats (of course, usually it would be MODX).
Formal documentation
Before implementing this library it should be specified properly. This documentation will be useful later on. UML should be used for defining the classes, and their tasks need to be described. The main goal is to have a standard that is usable.
Licensing & release
It would be nice to have the library released under a liberal license, such as MIT. This would prevent license compatibility issues. Since libmodx depends on MODX the version numbers should be synchronised in some way. Perhaps something like "1.2.3-x" where "1.2.3" is the MODX version and x increments with each release for that MODX version.
libmodx should be developed in a separate repository. It can easily be added as git submodule.
Repository
There are some initial design concepts at modx2-dev (github). An initial repo for development has been started at libmodx.
[RFC|Rejected] libmodx
Re: [RFC] libmodx
Some design concepts.
Model
Parser
Writer
Model
Parser
Writer
Re: [RFC] libmodx
This one is actually more AutoMOD-related, but I'll post it in here anyway.
Installer
Installer
-
- Posts: 171
- Joined: Sun Jan 29, 2006 1:00 pm
- Location: Germany
- Contact:
Re: [RFC|Rejected] libmodx
Hello Nils,naderman wrote:No longer relevant.
why?
Bye Martin
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
Re: [RFC|Rejected] libmodx
Because there is no point re-writing something that is for something we are trying to phase out.MartinTruckenbrodt wrote:Hello Nils,naderman wrote:No longer relevant.
why?
Bye Martin
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
-
- Posts: 171
- Joined: Sun Jan 29, 2006 1:00 pm
- Location: Germany
- Contact:
Re: [RFC|Rejected] libmodx
Hello,
is there a RFC for disallowingMODX based MODs in future?
If dev team want to phase it out then dev team should allow it for Ascraeus for fallback. Then MOD authors will have a chance to migrate their MODs to extensions and to get the nedded skills and experience. And we will see if the new thing really has been successfully.
But I understand your point. The recent Olympus MODX is doing the job good enough. So together with dev teams future plans a migration to another MODX solution makes no sense.
Bye Martin
is there a RFC for disallowingMODX based MODs in future?
If dev team want to phase it out then dev team should allow it for Ascraeus for fallback. Then MOD authors will have a chance to migrate their MODs to extensions and to get the nedded skills and experience. And we will see if the new thing really has been successfully.
But I understand your point. The recent Olympus MODX is doing the job good enough. So together with dev teams future plans a migration to another MODX solution makes no sense.
Bye Martin
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
Re: [RFC|Rejected] libmodx
1) There isn't an RFC for disallowing MODs as RFCs are for development of phpBB itself, and this is about community contributions, not development.MartinTruckenbrodt wrote:Hello,
is there a RFC for disallowingMODX based MODs in future?
If dev team want to phase it out then dev team should allow it for Ascraeus for fallback. Then MOD authors will have a chance to migrate their MODs to extensions and to get the nedded skills and experience. And we will see if the new thing really has been successfully.
But I understand your point. The recent Olympus MODX is doing the job good enough. So together with dev teams future plans a migration to another MODX solution makes no sense.
Bye Martin
2) I never said MODs would not be allowed straight away, I said that they were going to be phased out. There is a difference.
3) Similar to what I said in 1, its not up to the dev team to allow/disallow it. It is up to the MOD/Extensions team.
The reason libmodx is an RFC is because it would have been made part of the core in 3.1 with the new MOD Installer.
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"