[TYPO3-50-general] strict separation of libraries and extensions

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Nov 28 09:24:03 CET 2006


Ernesto Baschny [cron IT] schrieb:
> Martin Kutschker wrote: on 27.11.2006 10:12:
> 
> 
>>Currently t3lib is a mess as it sometimes checks BE and FE modes (mostly
>>for charset stuff). In other places BE code happily executes special
>>code for certain extensions (mostly old list code for old tt_ extensions).
>>
>>To me this is bad style. If it's not in the guidelines already I suggest
>>to add a section about code separation that goes beyond a mere
>>capsulation of classes.
> 
> I think this is planned, as this was one of the "top wanted" things to
> be fixed in 5.0. Having one way of doing stuff that can be used in FE
> and in BE. And I agree with that.

This could be the result of this. What I mean is that I don't want a if 
"$table == 'tt_address'" in t3lib or any code in typo3/. That's a reversed 
dependecy and I like "my" libraries clean (and therefore reusable).

Masi

PS: Are there any plans to build on another libaray set or framework like 
PEAR or Zend?


More information about the TYPO3-project-5_0-general mailing list