[wp-trac] [WordPress Trac] #60375: Site Transfer Protocol

WordPress Trac noreply at wordpress.org
Fri Apr 5 08:40:54 UTC 2024


#60375: Site Transfer Protocol
-------------------------+------------------------------
 Reporter:  zieladam     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Import       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by zieladam):

 Surfacing this interesting bit from @artpi:

 I found a very interesting alternative to PouchDB:
 I am brainstorming of ways to use WP REST API as Firebase replacement and
 stumbled upon Watermelon DB:
 https://watermelondb.dev/docs
 It uses SQLite under the hood, just as playground. But it also has a sync
 engine that does not require a specific software on the server side. It
 only requires 2 endpoints: push and pull.
 https://watermelondb.dev/docs/Sync/Backend
 Not only that, but I’m thinking it can be made use existing WP REST API
 endpoints by overriding synchronize function
 https://watermelondb.dev/docs/Sync/Frontend
 This is something more interesting for mobile apps.
 But here is what Im thinking:
 Replicate WP Schema in Watermelon DB on the playground end
 Write Push/Pull endpoints  in a plugin
 That way we would have fully decentralized sync where playground instances
 can treat “real” wp site as a server

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


More information about the wp-trac mailing list