Skip to content

Sync Protocol #797

@adamziel

Description

@adamziel

Let's use this core trac issue for discussion:

https://core.trac.wordpress.org/ticket/60375


Let's formalize a protocol for two Playgrounds (and, later on, WordPresses) to exchange updates with each other.

Technically, this would involve:

  • Using disjoint numerical space for autoincrement IDs to avoid conflicts
  • A network transport
  • A local transport (for apps using "Headless Playground" as a storage backend)
  • Bits from the Transfer Protocol:
    • Replacing host-specific data like site URLs with placeholders
    • Providing “export” and “import” extension points for plugins
    • Restoring the site URL and other host specific data from placeholders
    • Communicate any issues like missing PHP extensions, mismatched PHP version etc
  • A hosting connector to publish the changes
  • ...more, for sure

Related issues

Open questions

  • How to reconcile two plugins writing serialized data to the same database record?

Related reading

cc @dmsnell

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions