[TYPO3-ect] News about XCLASSES?
Joerg Schoppet
joerg at schoppet.de
Wed Aug 23 11:44:09 CEST 2006
Michael Stucki wrote:
> Is the Extension Coordination Team really the right group to support any
> future work on the XCLASS principle?
>
> In my opinion this supports exactly the opposit of our main goal:
> Coordination between extensions. This includes that changes should be sent
> back to the author of an extension instead of being forked with the help of
> an XCLASS.
>
> I think the goal of us should be that no extensions use XCLASSes anymore,
> instead they are _only_ used by target users who want to quickly change a
> behaviour without modifying upstream files.
>
> Just my two cents. I'm curious about other opinions.
>
> - michael
>
I have two "actual" problems, which I think will also resist in the future.
FIRST:
This is only an example, and does not match 100%
1. imagine ext1, which extend the user-class with a manager-field
2. imagine ext3, which extend the user-class with a separate firstname-field
Now, I (as developer of ext3) want to use both fields -> actually not
possible, because I can only install one of them (both XCLASSING a
user-class), with my thoughts I can simple use both of them.
SECOND:
Imaging you have a user-class, which was extended with eg ldap-fields
and methods, and a lot more from x other extensions.
Each time I (as developer) wants to use the user-class, everything have
to be loaded, even if I need it or not. With my thoughts, I can simple
say: "OK, I only need the LDAP-functionality" and then only the
necessary things are loaded (performance).
I will try to post as soon as possible some code, which will demonstrate
my thoughts.
Joerg
More information about the TYPO3-team-extension-coordination
mailing list