[wp-trac] [WordPress Trac] #38342: Quick Draft: Leverage REST API endpoints

WordPress Trac noreply at wordpress.org
Wed Nov 23 14:09:52 UTC 2016


#38342: Quick Draft: Leverage REST API endpoints
-------------------------------------+-------------------------------------
 Reporter:  adamsilverstein          |       Owner:  joehoyle
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch 4.8-early      |     Focuses:  accessibility,
  needs-unit-tests                   |  javascript, rest-api
-------------------------------------+-------------------------------------

Comment (by adamsilverstein):

 Replying to [comment:69 pento]:
 > Reviewing [attachment:38342.15.diff]:
 >

 Thanks for the additional feedback @pento! I will try to address your
 concerns in an upcoming patch.

 Regarding the choice of Backbone here - I'm open to exploring other
 technologies such as Vue or React, however I have a feeling Backbone is
 the right tool for this task. Using Backbone makes sense here because buys
 us a lot of built in functionality: we leverage syncing and the Backbone
 JS client, and leverage collections to handle management of the draft
 list. I find the backbone code here straightforward to understand and
 follow, this is a much simpler feature than the media library. What
 advantages might we hope to find by switching to React or Vue?

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


More information about the wp-trac mailing list