Module development: Difference between revisions

Jump to navigation Jump to search
m
Removed horrible images that reduced readability of text
m (Removed horrible images that reduced readability of text)
Line 21: Line 21:
Following chapters presents how to do all of this manually with an easy way. For experienced developers, a method to do this using MDA generation is also on the work. See last chapter for this.
Following chapters presents how to do all of this manually with an easy way. For experienced developers, a method to do this using MDA generation is also on the work. See last chapter for this.


= [[File:Art.png]] Example of Template External Module=
=Example of Template External Module=
A good model to start development of external module can be found here : [https://github.com/rdoursenaud/dolibarr-module-template GitHub Dolibarr Module Modèle]
A good model to start development of external module can be found here : [https://github.com/rdoursenaud/dolibarr-module-template GitHub Dolibarr Module Modèle]


= [[File:Art.png]] Create your module =
=Create your module =
== Create a descriptor of Module (required) ==
== Create a descriptor of Module (required) ==
'''When''': Required as soon as an addon is developed, whatever its goal is (except for adding a skin or a document template).
'''When''': Required as soon as an addon is developed, whatever its goal is (except for adding a skin or a document template).
Line 510: Line 510:
To add your own skin, read page [[Skins]].
To add your own skin, read page [[Skins]].


= [[File:Art.png]] Some coding rules and predefined functions =
=Some coding rules and predefined functions =
The coding rules to be followed are defined in the [[Developer documentation]], under section "General Information - Language and standards development".
The coding rules to be followed are defined in the [[Developer documentation]], under section "General Information - Language and standards development".


A lot of predefined features for developers are also available and described into page [[Developer documentation]] under section "Technical components of Dolibarr".
A lot of predefined features for developers are also available and described into page [[Developer documentation]] under section "Technical components of Dolibarr".


= [[File:Art.png]] Using MDA =
=Using MDA =
A method to generate a functional module from a UML model has been developed. More information on the page [[UML2Dolibarr - Build a module using MDA]].
A method to generate a functional module from a UML model has been developed. More information on the page [[UML2Dolibarr - Build a module using MDA]].


= [[File:Art.png]] Create a package to distribute and install your module =
=Create a package to distribute and install your module =
This process must be used to generate a package to submit it on the http://www.dolistore.com market place.
This process must be used to generate a package to submit it on the http://www.dolistore.com market place.
But you can use it to have a package easy to distribute on your on network.
But you can use it to have a package easy to distribute on your on network.
78

edits

Navigation menu