[wp-trac] [WordPress Trac] #27055: Themes Install Screen: introduce THX (Backbone powered) UX

WordPress Trac noreply at wordpress.org
Fri Mar 28 15:40:36 UTC 2014


#27055: Themes Install Screen: introduce THX (Backbone powered) UX
----------------------------+-----------------------------
 Reporter:  matveb          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  high            |   Milestone:  3.9
Component:  Themes          |     Version:  trunk
 Severity:  major           |  Resolution:
 Keywords:  needs-patch     |     Focuses:  administration
----------------------------+-----------------------------

Comment (by matveb):

 Patch above abstracts the API querying into a couple new Collection
 methods, which together handle caching for all the requests. (Clicking
 back and forth between Featured, Popular, Latest is instant after the
 first time and doesn't hammer the servers.)

 All requests (filters, sorts, searches) go through this method, which
 greatly reduces code repetition.

 It also adds separates presentation from the Collection logic via events
 so that any view updates we do (spinners, etc) happen on the views.

 Also starts building a {{{theme:end}}} event handler to query for more
 themes via the scroll bound functionality, so we can query for more themes
 once the user has scrolled far enough. (This has a bit of added complexity
 since we already have pure lazy-render pagination on the collection
 already, but it should work fine with the two together, giving us a lot of
 performance stability.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27055#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list