[TYPO3-ect]  naming conventions
    Elmar Hinz 
    elmar.DOT.hinz at team.MINUS.red.DOT.net
       
    Fri Mar 10 09:10:56 CET 2006
    
    
  
Hello typoniks,
lets talk about naming conventions for the ECT. In this posting let us
start with the ECT library, in the following let us talk about other
extensions of ECT like services or the snippet archiv.
If we strictly follow the current CGL we will do calls like this:
$someResult = tx_ect_div::doSomthing($someInput);
or
$someResult = tx_ectlib_div::doSomthing($someInput);
I would prefer a form as short as possible:
$someResult = ect_div::doSomthing($someInput);
Analogous to:
$someResult = t3lib_div::doSomthing($someInput);
Because this calls will be hardcoded into extensions, that base on the
ECT library, an early decision wouldn't be bad. If we decide for the
shorter form we need to claim an own official namespace to get it work.
What do you think about?
Regards
Elmar
    
    
More information about the TYPO3-team-extension-coordination
mailing list