Create "WP Heartbeat" API
|Reported by:||azaozz||Owned by:||nacin|
|Cc:||dh-shredder, bronson@…, bob@…, sabreuse, scribu, info@…, pippin@…, knut@…, sirzooro, tom@…, nashwan.doaqan@…, DeanMarkTaylor, adamsilverstein@…, aaroncampbell, jess@…, ben@…, ratilal.sunny@…, me@…, frank@…, azizur, wordpress@…, a.hoereth@…, alexvornoffice@…, luke.gedeon@…, kadamwhite@…|
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.
The idea is to have a relatively simple API that sends XHR requests to the server every 15 seconds and triggers events (or callbacks) on receiving data. Other components would be able to "hitch a ride" or get notified about another user's activities.
In the future this can be used to block simultaneous editing of widgets and menus or any other tasks that require regular updates from the server.
Change History (141)
comment:18 in reply to: ↑ 17 ; follow-up: ↓ 19 F J Kaiser — 11 months ago
comment:24 in reply to: ↑ 21 azaozz — 11 months ago
comment:38 in reply to: ↑ 36 azaozz — 10 months ago
comment:95 carldanley — 5 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
comment:97 in reply to: ↑ 96 carldanley — 5 months ago
comment:102 in reply to: ↑ 101 ; follow-up: ↓ 104 adamsilverstein — 5 months ago
comment:118 nacin — 5 months ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from reopened to closed