[TYPO3-core] FYI: Feature #6668: Let htmlArea RTE use the Ajax request of the Prototype framework

Steffen Kamper steffen at sk-typo3.de
Sun Nov 11 23:35:13 CET 2007


"Ingmar Schlecht" <ingmar at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1194790207.28556.typo3-team-core at lists.netfielders.de...
> Hi Masi,
>
> Martin Kutschker wrote:
>>> Do we have any direction regarding such issue?
>>
>> Idea:
>>
>> Create a PHP interface for rteHTMLareas' AJAX needs. Create a Prototype
>> implementation for the BE. In the FE anyone can implement the interface
>> for his own AJAX framework. Besides this implementation he needs a way
>> to tell the the RTE that it should use his class for AJAX.
>>
>> Additionally there could be one TER extension that provides for the sake
>> of convenience those classes for common frameworks.
>
> I think just coding the XMLHttpRequest by hand in HTMLArea as it used to
> be is the better way because there's no extra hassle of keeping
> compatibility with other JS frameworks. The biggest advantage of using
> prototype for the AJAX stuff anyway was a leaner HTMLArea code base, I'd
> say. But if that leads to finally more and more complex code due to an
> abstraction framework, I don't think it's worthwhile to go that far.
>
> What do you think?
>
> cheers
> Ingmar
>
> -- 
> Ingmar Schlecht
> TYPO3 Association Active Member

I think Ingmars idea is the best, otherwise there must be a interface for 
RTE and any possible framework, which is really overkill.
Any extension can use your registration and is free to use any lib.

vg Steffen 




More information about the TYPO3-team-core mailing list