[Top][All Lists]

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

Re: [Dolibarr-dev] customizing dolibarr scripts

From: Florian HENRY
Subject: Re: [Dolibarr-dev] customizing dolibarr scripts
Date: Wed, 13 Aug 2014 11:19:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Laurent made a study about performance lost when using only this method and he tell us dirung the devcamp there is a real difference. After that, If you have 3000 dolibarr install on only one server, you can see the difference but with one dolibarr per server it will not impact so much.
I will be agree with Christophe and Maxime, I prefer a full customizable dolibarr rather than cloud performance oriented.
Florian Henry
+33 6 03 76 48 07
Twitter : @_Open_Concept_
Google+ :
Le 13/08/2014 11:06, Marcos García a écrit :
It is. Performance decreases because every time you include a file, it has to check if it has been included yet or not.

Marcos García

2014-08-13 10:25 GMT+02:00 Maxime Kohlhaas <address@hidden>:

I agree, I got used to put "dol_include_once" function whenever I need an inclusion. Even for core modules.
Is there any disadvantage doing this ?

Bien cordialement,

Maxime Kohlhaas
Consultant associé
ATM Consulting
+33 6 33 42 92 43

2014-08-12 18:14 GMT+02:00 Christophe Battarel <address@hidden>:

Hello everybody,
I wonder if there are reasons to keep require_once lines in dolibarr except for performance issues.
Because if we replace every require_once by dol_include_once, it will be possible to customize any script of dolibarr by putting them in the custom directory with the right pathes.
Best regards

Christophe Battarel
Responsable technique
sarl altairis
Informatique et Web en Grésivaudan
33 Grande Rue
38570 Goncelin
09 52 71 70 96 (appel local)

Dolibarr-dev mailing list

Dolibarr-dev mailing list

Dolibarr-dev mailing list

reply via email to

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