[TYPO3-ect] My first impression of lib/div

Benjamin Mack benni at typo3.org
Fri Apr 25 09:02:46 CEST 2008


Hey guys,

I dug into lib / div the other day for the first time. I actually wanted 
to use the set in my own extension.

As I looked at the source code for div, I was wondering why there are 
functions duplicated from the core.

I mean, I usually call t3lib_div::makeInstance, now I need to call 
tx_div::makeInstance and I don't see the reason why NOT to use the 
classic t3lib_div ones (getGlobal etc etc). Same goes for some "key" 
functions, which belong to the t3lib_extMgm class. Shouldn't we find 
another way to have an extension for the stable releases 4x to merge 
missing functions to the core?

Second of all, shouldn't we now force all developers to work with PHP5 ? 
I mean, the admins (me included, I have two clients left with PHP4) now 
need to upgrade to a new system, PHP4 is not supported anymore... so 
let's get rid of it.

Third: Is the lib / div way the "official" way to making an extension to 
TYPO3 5.0? I mean: Is it developed in discussion the v5 team or "just 
another MVC framework" for TYPO3 ?

Forth: Is it finished? doesn't seem to be a lot of work going on there 
anymore.

Thanks for all the answers.
benni.
-SDG-


More information about the TYPO3-team-extension-coordination mailing list