Hello, I’ve been thinking about the efficiency of Ajax lately.
For example, Let’s say I want to implement some kind of a Web Form, for a profile maybe.
Ajax would allow me to save each field when I move on to the next field, using javascript’s onBlur(). it seems like it would make things quicker and avoid sending everything at once.
I have no way to benchmark performance, so I have no idea how it affects the server.
So, I’m assuming many of you guys know the answer to this:
is it better to send many simple queries to the DB or one big query using onSubmit() for example.
does sending too many simple Ajax requests slow down the server? (assuming they all involve mySQL queries)
Thx