[TYPO3-ect] AJAX: serverside logic vs. clientside logic

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Sep 17 20:27:41 CEST 2006


Elmar Hinz schrieb:
> Hello,
> 
> 1.) What happens if JavaScript is turned off?
> 
> The xajax type will do it's regular, full work as a traditional webpage,
> because the logic is on the servers side.
> 
> The prototyp type will fully break and becomes unusable.

A problem for extensions, but not for the BE.

> 2.) Form validation:
> 
> We agree that we need form validation within the browser (AJAX) for the
> users comfort but also after submission of forms on the servers side for
> reasons of security. How many times do we need to program validation now?
> 
> With the xajax type we need to program validation once, because the
> validation within the browser uses the PHP logic on the servers side.

If so it means, it makes a lot of HTTP connections. But, if it does all 
the JS code generation I'm told it does, I'm sure it provides JS 
validation that does not round-trip every check.

Masi



More information about the TYPO3-team-extension-coordination mailing list