[TYPO3-dev] SOLUTION (?) : Multiple XCLASS inheritance

Kasper Skårhøj kasper2006 at typo3.com
Wed Feb 8 19:07:17 CET 2006


Hey tapio,

Obviously you didn't read your post 10 times before posting it, or  
maybe you forgot to check the context; how on earth does your reply  
relate to my post!?

Try to avoid posting out-of-context information, that only teases the  
the lions.

- kasper


On Feb 8, 2006, at 18:44 , tapio wrote:

> Kasper Skårhøj wrote:
>>> I'd like to see XCLASSES disappear completely and only use hooks.  
>>> TER
>>> will be much cleaner after that ;)
>>>
>>
>> I somehow agree. At least XCLASSES should be banished from shared
>> extensions and only used for custom implementations where a backwards
>> compatible core change is needed.
>>
>> Also, inheritance as a whole should be avoided in our future
>> architecture, rather objects should be more atomic so we can use   
>> other
>> patterns for pluggin in functionality/services etc  ("strategies" et
>> al). Hooks is the precursor for this idea.
>
> What I would need is a to define flexible link properties for
> all kinds of task buttons.
>
> For example Máximo Cuadros Ortiz define for some BE-button AJAX  
> scripts
> and I added classes. Buttons must be redefined.
>
> B. Kraft added a usefull button - IMO like B. Kraft 'Paste' icons  
> should
> be *as default* available in Columns view.
>
> I was forced to combine functionalities of  'kb_pm_paste'
> 'tm_contentaccess' and 'gb_begragndrop' using a quite complex XCLASS.
>
> That could be avoided only with flexible property defining.
>
> All button set could be also configurable with strings like
> disableToolbarButtons=history,list
>
> using the the same idea as
>
>
> options.contextMenu   {
>    pageTree.disableItems =  
> hide,info,cut,delete,move_wizard,history,perms
>
> It was hard work to put full buttonset control
> for 'alt_doc.php' (own for BE and FE editing), 'db_layout.php' + list
> module
>
>
> If all buttons could have classes
> that could help in layout designing.
>
>
>>
>> - k
>>
>>> Cheers,
>>> Michael
>>> _______________________________________________
>>> 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





More information about the TYPO3-dev mailing list