docdev icon indicating copy to clipboard operation
docdev copied to clipboard

Added information

Open DonutsNL opened this issue 2 years ago • 0 comments

  1. About how to use namespaces and composer autoloader in Plugins.

  2. Maybe add information about future support. Will namespaces be the standard and will /inc be deprecated?

  3. I also think it is wise to add the instruction somewhere to "NOT" use existing GLPI classnames inside the plugin namespace or renaming them using: use GlpiPlugins\Namespace\ExistingObjectName as SomethingElse;. I noticed doing so with extends on other existing GLPI objects like CommonDropdown will make the resulting functionality pretty flaky. It should be easy to come up with unique class names.

DonutsNL avatar Jul 06 '23 15:07 DonutsNL