|
|
|
|
|
by 9dev
58 days ago
|
|
You can always reduce complexity by moving the goal posts. In context of the original proposition—that one of the core values WordPress provides is live preview—we have to assume a reasonably complex website authored by multiple people. Live Preview means, then, that you need to: - have a web-based editor behind secure auth,
- create an environment resembling CI to rebuild the site on demand,
- trigger rebuilds when a user modifies the content stored on the server,
- make the new build available in a draft environment
- …where it doesn't affect the live site,
- …only grant access to collaborators,
- …without breaking assets, links in the pages, CORS, or CSP.
There are more constraints and pitfalls that I'm not going to enumerate here. My point is, this stops being simple as soon as you stop being hand wavy about it. |
|