[Typo3-dev] extending extensions

"Kasper Skårhøj" kasper at typo3.com
Tue Jan 13 15:33:35 CET 2004


I'll take this notice into consideration.



God bless

- kasper

*********** REPLY SEPARATOR  ***********

On 13-01-2004 at 08:46 Carlos Chiari (DE) wrote:

>Hi:
>
>Just an idea:
>
>Is there a way to set some sort of flag at Extension Manager regarding
>classes being extended by the extensions, and then check if an extension
>being installed extends a previously extended class and set a warning?
>
>Maybe complicated to implement, though.
>
>Best regards
>
>Carlos
>
>
>
>
>
>----- Original Message ----- 
>From: "Kasper Skårhøj" <kasper at typo3.com>
>To: <boris.nicolai at andavida.com>; <typo3-dev at lists.netfielders.de>
>Sent: Tuesday, January 13, 2004 6:42 AM
>Subject: Re: [Typo3-dev] extending extensions
>
>
>Generally we have not been able to solve the question. Most recently we
>have
>added support for extending extending classes - but this requires awareness
>of those extensions. Little complicated. And not scalable at all.
>
>Anyways, the official stand is that extension classes is more like a
>"work-around" solution which can make it work until an API at the targeted
>position has been made. So maybe needs to extensions should trigger a
>request for an API? Well, I'll look into this.
>
>
>
>God bless
>
>- kasper
>
>*********** REPLY SEPARATOR  ***********
>
>On 13-01-2004 at 12:15 Boris Nicolai wrote:
>
>>morning,
>>I run into serious trouble as I want to develop another ext which extends
>>the tslib_fe.
>>the problem is as already sometimes discussed, what if I want to install
>>two
>>ext that extend tslib_fe (or whichever class)?
>>so I thought a bit and maybe I got a solution without the time to develop
>>it
>>:(
>>A basic-class could look if there are classes that extend this class. if
>>so,
>>the basic-class creates an instance of this XCLASS, and if a function of
>>the
>>basic-class is called then the basic-class checks if this function doesn't
>>exist in one of its extension-classes. if so it would be called instead of
>>its own function. could somehow work but I´m so far not so deep inside
>>typo.
>>now, what's if two, three, four ... XCLASSES have the same function? then
>>it
>>must be possible to specify in the Extension, which priority this
>extension
>>has in comparison with other XCLASSES.
>>and if no priority is specified by the author? then the latest XCLASS
>>overrides the function of the older XCLASSES.
>>don't know? could this be a way? or do the new services exactly deliver
>>this
>>functionality? so far I could not work out WHEN services or under which
>>circumstances they should be used.
>>
>>26 degree hot greetings from andalucia :)
>>boris
>>
>>
>>
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Boris Nicolai
>>IT Director
>>Coastal Realty SL
>>
>>Conjunto Casaño, Oficina B4
>>Avenida Manolete
>>Nueva Andalucia
>>29660 Marbella (Spain)
>>
>>Tel: +34 952 812 949
>>Fax: +34 952 814 062
>>Mobile: +34 686 021 339
>>Email: boris.nicolai at andavida.com
>>
>>http://www.andavida.com - Hier surft Andalusien
>>http://www.coastal-realty.co.uk
>>
>>
>>
>>_______________________________________________
>>Typo3-dev mailing list
>>Typo3-dev at lists.netfielders.de
>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
>
>
>God bless
>
>- kasper
>- kasper
>
>--------------------- o ---------------------
>Mange kokke fordærver maden.
>
>
>
>
>_______________________________________________
>Typo3-dev mailing list
>Typo3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
>
>
>_______________________________________________
>Typo3-dev mailing list
>Typo3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev



God bless

- kasper
- kasper

--------------------- o ---------------------
Mange kokke fordærver maden.








More information about the TYPO3-dev mailing list