[wp-trac] [WordPress Trac] #28050: Consider using Backbone Views for List Table updates
WordPress Trac
noreply at wordpress.org
Sun May 18 15:59:50 UTC 2014
#28050: Consider using Backbone Views for List Table updates
----------------------------+-----------------------------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript, administration
----------------------------+-----------------------------------------
Comment (by adamsilverstein):
This is a grand idea! Great in concept and grand in scope.
Its something I have been thinking about as well and would love to see
happen. I got as far as [http://tunedin.net/backbone-posts-page-proposal/
some mockups] a while back and was both excited and overwhelmed at the
possibilities.
One approach that could help make the task achievable would be breaking
the components down and handling the switch to Backbone/Ajax piece by
piece. The search part is straightforward, and Backbone-ifying the Bulk
Edit/Quick Edit features would be a big win. Eventually we could add the
list itself and address pagination, sorting and filtering.
Building in layers like this might also help us keep the rather solid no-
js experience as well, with the eventual goal of a completely ajaxified
experience.
Count me in!
Replying to [ticket:28050 wonderboymusic]:
> List Tables are kinda clunky. (Duh!)
>
> I just Quick Edit'd the first post in the list to have a date that is 1
month ago. Did the list table re-render? Not Really! Did the post move
down the list? No!
>
> If the list table class could return state via a `toJSON()`method, all
that is left is rendering a master view template that contains subviews
for each row.
>
> Real time updates would be killer. Imagine real time searches...
>
> I have been thinking about this a lot lately. If something sane emerges,
it could be cool.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28050#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list