dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] [ANN] New module template


From: Doursenaud , Raphaël
Subject: Re: [Dolibarr-dev] [ANN] New module template
Date: Mon, 29 Oct 2012 16:04:13 +0100

Thanks for the answer Régis but that doesn't make sense, we already are in the module directory.
These should be top level for easier access.

The only valid reason I see why some elements should be in core in the context of a module is because __Dolibarr's core__ need access to them (module descriptor, box, triggers…).
Then placing _javascript_, css and maybe themes in /core/ could be justified if there is optimization done on them by Dolibarr (i.e. : compression before serving) but I fail to see why my libraries and includes should go in core.

Please prove me wrong.

2012/10/29 Régis Houssin <address@hidden>
all that is common to all elements of the module should be in core


Le 29/10/12 14:26, Doursenaud, Raphaël a écrit :
2012/10/29 Régis Houssin <address@hidden>
great !

but...

move /includes/boxes/ to /core/boxes/

Aknoledged. This is an old file that sneaked into…
Already corrected.
 
move /includes/ to /core/inc/

move /lib/ to /core/lib/

move /js/ to /core/js/
Would you mind explaining why for these. I still see them in some current modules and haven't experienced breakage.
I've always had a hard time finding these little bits an pieces. This is useful for having the right mind set when developing.

Thanks for the feedback anyway !
--
Raphaël Doursenaud
05 35 53 97 13 - 06 68 48 20 10
address@hidden


http://gpcsolutions.fr
Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921

reply via email to

[Prev in Thread] Current Thread [Next in Thread]