[TYPO3-50-general] I can't see AJAX anywhere?
dan frost
dan at danfrost.co.uk
Thu Jul 26 01:01:16 CEST 2007
This is from experience.
We used xajax for approx 1 year across most of our projects and then
started playing with Prototype. Of course, to use Prototype in PHP you
need to build the server-side but the implementation on the client-side
is more elegant in Prototype than Xajax.
I'm afraid I take your comments about buzz words with a pinch of salt
because of my above comment.
Also, I add more salt because I can't believe you're suggesting not
using client-side processing. Accessibility or not - what about the huge
trends towards using Ajax and other client-side processing (see post on
google gears).
My suggestion:
- prototype for Ajax. Easier and quicker to implement. Cross-browser
event handling etc.
- Simple, custom Ajax server.
It's not a huge issue really. But I'm surprised at the out-dated
comments about client-side coding..
cheers,
dan]
>>>
>
> Hi Dan,
>
> you compare apples and pears. Techniques and application areas are completly
> different.
>
> Xajax: A ajax library with a PHP API. The application logic is on the
> serverside.
>
> Prototype: A powerfull javascript library with an accessory ajax pump. The
> application logic is on the client side.
>
> Calling prototype an ajax library is IMHO a widespread but wrong use of a
> buzzword. It's like calling a car a kitchen, because it has a can opener
> build in. The use of javascript libraries alone, results in pages, that are
> not fully accessible. Clientside logic simply breaks if javascript is not
> available.
>
> Accessibility is required by laws, especially for governments. Professional
> pages need serverside logic, because serverside logic doesn't depend on
> javascript. This is only garanteed by serverside ajax libraries like
> xajax -- or by doubling the programming costs, once for the server, once
> for the client.
>
> Surely serverside libraries require some knowlege to do a clean
> implementation. But good quality should be a question of requirements, not
> of the laziness of the average developer.
>
> Regards
>
> Elmar
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
More information about the TYPO3-project-5_0-general
mailing list