[TYPO3-dev] Best practice for ajax use in BE?

Steffen Kamper steffen at sk-typo3.de
Thu Jul 12 18:33:45 CEST 2007


hi ries,

only thiing (independent from xajax): use links like
<a href="...url..." onclick="doJS();return false;">...</a>

then you have fallback with each lib.

vg  Steffen

"ries van Twisk" <typo3 at rvt.dds.nl> schrieb im Newsbeitrag 
news:mailman.7729.1184256484.29892.typo3-dev at lists.netfielders.de...
> hey Elmar,
>
> thank you for your kind response,
> I totally agree with what you say below.
> However I don't see how xajax can help me in this particular case.
> But I don't know xajax at all.
>
> The only button that doesn't work right now is the 'add to chart'  button,
> and I do feel that can be solved without any JS at all.
>
> as a note how I understand xajax,
> "xajax also sounds like a ajax library which apparently is server 
> centric".
> However 95% of my JS needed doesn't need any ajax at all. I am not sure
> if xajax can help me at all.
>
> Ries
>
>
>>>
>>> Elmar,
>>>
>>> I send you a mail back with a explanation what we are doing there.
>>>
>>> Please don't judge somebody's creation before you know what's going
>>> on behind the scenes.
>>>
>>> Ries
>>
>>
>> Hi Ries,
>>
>> I know similar situtations. One isn't alone on the planet. Other  people 
>> are
>> involved. You do a pretty good work for a page. But mistakes happen 
>> outside
>> of your influence. In the end it's difficult to present the whole  result 
>> as
>> a reference for yourself. That's life.
>>
>> However, this examples shows us what risk is in using those JavaScript
>> libraries, that claim to be ajax, despite of being 99% JavaScript  with 
>> only
>> a tiny ajax pump. A non-JS fallback requires additional work.
>>
>> If you implemented the same with a server centered ajax library,  like 
>> xajax,
>> you got the same user functionality, but with an unfailing non-JS 
>> fallback
>> for nothing.
>>
>> Kind Regards
>>
>> Elmar
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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