[TYPO3-ect] Which pattern to use?

Joerg Schoppet joerg at schoppet.de
Tue May 30 11:09:52 CEST 2006


Hi list,

I've the following problem. I've created a basic extension. In this extension I've implemented a "fe_users" class, which gives me nice php5-oop like access to all fe-user related tasks.

But now I've the same problem as Typo3 and the XCLASSES.
e.g.:
another extension extends the fe-users with a special field for firstname and manager -> OK, no problem, simple extending my basic class BUT
now I create a ldap extensions, which added some special fields to the fe-users, too. PROBLEM!!
Well, I can simple extend my extended class, but I don't like this approach, because this will be a never ending story.

So, my question: Have anybody found a good alternative for this? I've looked at the observer-pattern, but I have the feeling, that this is not the right one.

Any comments?

Regards

Joerg Schoppet



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