How atomic *should* I make an Ajax form?

Posted by b. e. hollenbeck on Stack Overflow See other posts from Stack Overflow or by b. e. hollenbeck
Published on 2010-04-22T21:07:13Z Indexed on 2010/04/22 21:43 UTC
Read the original article Hit count: 286

I have some web forms that I'm bringing over with AJAX, and as I was dealing with the database on the back end, I thought that it might be easier to just handle each input on the form atomically with AJAX, saving the form in 'real time' as the user edits it. The forms are ~20 fields of administrative settings.

Would this create massive overhead with the app, cause it to be error-prone, or is this a feasible idea? Of course, contingent operations (like a checkbox that then requires a text entry) would be held until the textbox gained and lost focus.

Comments?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about AJAX