well you can put these directories wherever you want, but it should keep
a certain homogeneity.
Personally I prefer to put this in "core" to concentrate all regarding
the core module.
Very useful if you have lots of folders in the root, it's a little
housekeeping ... :-)



Le 29/10/12 16:04, Doursenaud, Raphaël a écrit :
> 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 <regis.hous...@cap-networks.com
> <mailto:regis.hous...@cap-networks.com>>
>
>     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 <regis.hous...@cap-networks.com
>>     <mailto:regis.hous...@cap-networks.com>>
>>
>>         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
> rdoursen...@gpcsolutions.fr <mailto:rdoursen...@gpcsolutions.fr>
>
>
> <http://gpcsolutions.fr>
> 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

Cordialement,
-- 
Régis Houssin
---------------------------------------------------------
Cap-Networks
Cidex 1130
34, route de Gigny
71240 MARNAY
FRANCE
VoIP: +33 1 83 62 40 03
GSM: +33 6 33 02 07 97
Web: http://www.cap-networks.com/
Email: regis.hous...@cap-networks.com

Dolibarr developer: re...@dolibarr.fr
Web Portal: http://www.dolibarr.fr/
SaaS offers: http://www.dolibox.fr/
Shop: http://www.dolistore.com/
Development platform: https://doliforge.org/
---------------------------------------------------------

_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à