[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API

WordPress Trac noreply at wordpress.org
Sun Mar 10 20:54:24 UTC 2013


#23216: Create "WP Heartbeat" API
----------------------------+------------------
 Reporter:  azaozz          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.6
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  autosave-redo   |
----------------------------+------------------

Comment (by cbunting99):

 Replying to [ticket:23216 azaozz]:
 > The purpose of this API is to simulate bidirectional connection between
 the browser and the server. Initially it will be used for autosave, post
 locking and log-in expiration warning while a user is writing or editing.

 So does this mean that Wordpress will be implementing a database sync
 framework? With a web based publishing platform, how are you going to save
 data locally to be synced with the server upon reconnecting? Since most
 Wordpress sites are not multi-server setups, how is the heart-beat going
 to work on a "Single Point of Failure "if the server crashes, storm takes
 out internet ect?

 I could understand such a system if you were running ManageWP.com, they
 could check for connection loss and re-connection since their system
 (acting as a middle man) could then sync the data. I just don't see or can
 understand any benefit to adding this stuff if it can't do any more than
 what the current system does.. Unless of course you are going to re-write
 the admin utilizing something like http://appjs.org/ but I would doubt it.
 Am I missing something?

 In regards to the future plans, Why not do something like most Wiki's and
 set a "being edited" flag.. You can show a notice to another editor that
 the article is currently being written/edited.. And or use ajax like live
 chat clients letting each editor see that the current document is being
 editing by such and such, once document is saved, give the green light to
 whos next. When the document is saved or canceled, remove the "being
 edited" flag.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23216#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list