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

Fabien Udriot fudriot at omic.ch
Fri Apr 25 20:56:34 CEST 2008


> 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?

The purpose of lib/div was to build a little framework that would enable the use of modern concept
like MVC, ORM, ... in TYPO3's extensions. A lot of work / activity has been done about this
mini-framework during the last year but sadly it didn't reach the "beta" status as desired.

Although some methods seem to be redundant, the idea (of Elmar ?) was to facilitate the migration
of an extension in V4 to V5. With only a few changes you would have a running extension in the next
version. (At least, it was desired...)

About this topic, does anybody has News from Elmar? Does he totally disappeared from TYPO3 ? No News
on his blog too.


> 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.

Long and hot discussions were hold on the mailing list last summer !!


 > 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 ?

Well... difficult to advice to spend energy in this direction or not. A valuable reason would be, to 
have already a clean MVC separation in your extension for V5. This definitely lacks in TYPO3.

But you must be aware that you will find most of the time examples as documentation. If you are 
still interested, have a look at "ecorss".


kind regards,

Fabien

Patrick Gaumond a écrit :
> Ingo Renner wrote:
> 
>> sorry, but this is plain non-sense and stupid! I can't believe you think that way!
> 
> As Ries van Twisk would say: Popcorn !
> 
> Come on Ingo. Keep it non-personal.
> 
> Like it or not some people have tried (often the wrong way) to provide code and suggestions and 
> being turn down in a second.
> 
> What's left ?
> 
> Xclass, Hooks, lib/div and libraries.
> 
> For the last one check: 
> http://typo3.org/extensions/repository/?tx_terfe_pi1%5Bview%5D=search&no_cache=1&tx_terfe_pi1%5Bsword%5D=library
> 
> 
> 
> 
> Personal attack brings you nowhere.
> 
> Patrick


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