Best jQuery/Prototype book for complex ajax?
Posted
by Burton Kent
on Stack Overflow
See other posts from Stack Overflow
or by Burton Kent
Published on 2010-03-26T16:08:56Z
Indexed on
2010/03/30
16:53 UTC
Read the original article
Hit count: 414
I've been working on a complex app with one main dashboard. I don't particularly like the design because it tries to do too much on one page. So the lead developer thought it would be a good idea to use ajax - because the page is so big. Refreshing part of it is far faster than loading it again.
Problem is there's several ways data can be used.
- Adding items
- Editing rows
- Performing actions on selected rows (selected using a checkbox)
- Changing single items (like location, phone)
My problem is making GENERALIZABLE ajax code that can operate on the data in a div, using class names to assemble the proper information for the ajax call. I did pretty well, but can't help but want to see if there's a better way to do it.
© Stack Overflow or respective owner