dolibarr-dev
[Top][All Lists]
Advanced

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

Re: [Dolibarr-dev] alternative root directory


From: Destailleur Laurent
Subject: Re: [Dolibarr-dev] alternative root directory
Date: Sat, 5 May 2012 16:38:00 +0200

Comme on fait des tests sur la présence on non de fichier, que la plupart du temp la présence est négative, et qu'il n'y a pas de cache pour le include ou file_exists en échec, la dégradation est très importante.
Sur un vieux windows, j'avais mesuré un 10% de perte, ce qui n'est pas négligeable. Mais surtout, avec l'augmentation des fonctions et des test file_exists et autre, cela va augmenter.
Mais tel que c'est fait cela n'est plus un probleme car seul ceux qui activent sont concernés.
Il faut toutefois finalisé le fonctionnement partout.


2012/5/5 Régis Houssin <address@hidden>
Et franchement à moins d'avoir un pentium 2 si on perd 1 millième de seconde c'est tout le bout du monde


-----------------------------------------
Régis Houssin

Le 5 mai 2012 à 15:50, Destailleur Laurent <address@hidden> a écrit :

Not for the moment.
The reason is that using the custom directory is not yet stable. For example, the solution for an external module to make the include of the main.inc.php file is not clear yet.
The other reason is that it works for on custom dir. Change should be done to have as much custom as there is external module to allow to keep usage of external modules inside different source (for example having one module on doliforge, another one on github or a svn server).
Another reason is that there is still feature not working (even with 3.2).
Also don't forget that using the alternate path slow down usage of dolibarr compared to including in same root.
So architecture may still change in future so it is better to keep this feature for dev only or experienced integrator but not for non technical end users (for the moment, but i agree we must achieve this goal,we are on the good way but not yet ready for public documentation).


2012/5/5 Juanjo Menent <address@hidden>
Since version 3 it is possible to define an alternative root directory.This allows  to store, in same place, plug-ins and custom templates.

We should prioritize the use of this option (/path_of_dolibarr/htdocs/custom/mymodule) compared to traditional (/path_of_dolibarr/htdocs/mymodule)?

If yes, we should update the wiki...

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


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

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



reply via email to

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