I’m interested in a practical solution to managing preview/staging resources alongside live.
Here’s a typical scenario. I’ve got a publicly quoted client and at results time they need to publish several pages of financially sensitive information.
- It has to be accurate so a site preview must be checked by the accountants and lawyers as well as marketing
- It’s time sensitive – must go out exactly on time and not be leaked out early
Currently this client is running Evolution with a module
http://modxcms.com/forums/index.php?topic=32336.0 that copies files and data from a staging site to the live site. This sort of works ok except
- If another page, like a press release, needs publishing whilst the financial results pages are still a work in progress I have to temporarily un-publish the pages, copy staging to live and then re-publish (in staging)
- If there was dynamic content, like comments, this scenario wouldn’t work
I’m thinking that having a more sophisticated ‘published’ setting could work in the majority of cases, where there are 4 statuses rather than the current 2, such as
1. not published at all
2. published in preview mode only (excluded from search)
3. published in live mode only
4. published in live and preview mode (same as published currently)
Plus a batch process at the end of a project to
1. convert 2 > 4
2. convert 3 > 1
3. delete all 1’s
Preview mode would only be visible on a separate url that could be protected in some way (password, ip address etc.)
I know this isn’t the gold plated solution and doesn’t deal with snippet code versioning and so on but it would deal with the day to day issues of content publishing.
Ok, shoot me down in flames …
Mark