[TYPO3-core] FYI: Added feature #14057: htmlArea RTE: Extjize the RTE ajax requests

Steffen Kamper info at sk-typo3.de
Sat Apr 10 23:48:11 CEST 2010


Hi Stan,

Stanislas Rolland schrieb:
> Hi Steffen,
>>
>> just a small remark - why don't you use ajax.php? This is the official 
>> API we have for json/xml/text response for ajax-requests, it 
>> simplifies the building of response. So you don't have to take care 
>> sending correct header and json_encode.
>>
> All GET instances, simply retrieve some cached files.
>

ok. Comment was by reading only.

> What if the RTE is used in the frontend?
> 

yes, that's a conceptional problem. Imho ajax.php has to be a general 
API for ajax request, independent from BE or FE, it has to work for both.

> The spell checker uses ajax.php, but had to be structured and configured 
> so as to use ajax.php in the backend and eId in the frontend. Perhaps 
> the server-based html cleaner should be structured the same way.
> 

see above, imho unnessecary hassles for devs.

One good step in a new direction is the ExtDirect API integration. I 
used it a lot in new EM and it works great, and it's independent from 
BE/FE mode. Same is needed for ajax.php, Ajax is Ajax, so why 
differentiate the TYPO3_mode ;)

vg Steffen


More information about the TYPO3-team-core mailing list