Over time, many mods have emerged that do not add content on their own, but merely provide functionality for other mods to use. They are often referred to as "library mods" or "libraries".
Some modders like to express this fact by a certain prefix or suffix in the mod name. However, there is no consistent standard. Naming schemes I've seen so far are:
- foobar - no prefix/suffix at all, appears to be the most widely used variant
- foobar_lib - used by most "established" libraries such as signs_lib
- foobarlib - also used sometimes, e.g. cmdlib, intllib
- lib_foobar - particularily used by ShadMOrdre, e.g. lib_clouds, lib_emerge
- libfoobar - the Unix naming scheme, seldom used
- foobar_api - e.g. w_api
- What is your opinion on this?
- Which other naming schemes do you suggest?
- Making "libraries" by exposing interfaces in the global namespace is bad practice, it would be better to utilize require().
- The content DB has to be extended to properly function as "package manager" for libraries, and maybe allow different versions of the same library to be installed a.s.o.
*) Just to collect opinions, I am aware that this is still bad practice, but I think we won't come up with a better solution in the near future.