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

Dmitry Dulepov typo3 at accio.lv
Fri Sep 15 09:06:36 CEST 2006


Hi!

Good work. Just one thing to add.

Elmar Hinz wrote:
> 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.
> 
> With the prototype type we need to program validation twice, once on the
> client side, once on the server side. The work doubles.

Client side validation cannot check anything that requires accessing 
databases.

-- 
Dmitry Dulepov
http://typo3bloke.net/

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-hci mailing list