[wp-trac] [WordPress Trac] #3099: AJAX Responsiveness

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 2 11:05:30 GMT 2006


#3099: AJAX Responsiveness
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |       Owner:  anonymous             
     Type:  enhancement     |      Status:  new                   
 Priority:  normal          |   Milestone:  2.1                   
Component:  Administration  |     Version:  2.1                   
 Severity:  normal          |    Keywords:  ajax listman prototype
----------------------------+-----------------------------------------------
 http://comox.textdrive.com/pipermail/wp-hackers/2006-August/007873.html

 Cool things
  1. Switch to prototype.
  1. New WPAjax class.  Some API, but mostly some simple error checking and
 cookie passing.
  1. New listman class. Keep old listman class for now (mostly as a
 comparison).
  1. Recolor list by swapping class names.  The sexy fades take too long.
 We should look into it again later.
  1. When adding or updating content, wait for the server to respond (same
 as before).
  1. When deleting, approving, etc., update display immediately.  When
 response comes, check it for errors and put back the old content if we
 need to.
  1. As many AJAX instances going as you want.

 Things to worry about
  1. Since we update the display before the data is even fully sent, the
 user may browse away before the action catches.  Solution not yet
 implemented.  Will likely do something like tinyMCE does ("Don't go away,
 I'm still updating things!").
  1. Double posting the same request.
  1. Version is set to rand() in script loader to avoid caching.
 Obviously, this will change when it's been beaten down some more.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3099>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list