News for hackers. Stuff that matters.
Re:AJAX best practices? by palish on Friday July 27, 2007 @04:24PM (#37179)
Okay, here's an alternate method.

 When a user needs to save their note
  If the note is already saving
   Set note.saveAgain = true
  else
   Start the process of saving the note
 
 When the note has saved
  If note.saveAgain == true
   Set note.saveAgain = false
   Start the process of saving the note again
That doesn't require a queue. It also only saves the most up to date version.
Re:AJAX best practices? by morris on Friday July 27, 2007 @04:26PM (#37180)
Cool.

Thanks again.

Re:AJAX best practices? by palish on Friday July 27, 2007 @04:26PM (#37181)
I can has karma now?

Edit: How dare I ask to be compensated for my time. I should be ashamed of myself.

Re:AJAX best practices? by palish on Friday July 27, 2007 @04:27PM (#37182)
Thanks!

If you have any more questions, feel free to ask.