Staging Database and Live Database

8 posts by 3 authors in: Forums > CMS Builder
Last Post: September 22, 2009   (RSS)

Hi - I have a prospect who wants the ability to have a staging database so they can stage a new article, changes to content, etc., then once everyone is happy to be able to "publish" this content to the live database.

This will not just be a site-development-time need, but an ongoing, forever need.

Does anyone have an idea of how to do this in CMS Builder?

Thanks in advance.
Gary.

Re: [garyhoffmann] Staging Database and Live Database

just a quick idea... There may be others.

You might try

1) "Hiding" the page from view on the live website with a special hidden field check box.

2) Then have the folks that need to make changes do them in the section editor.

3)Only un-hide the page, allowing it to be seen on the web site when it's "approved".

You can restrict the final approval to an administrator if that's helpful.

Best,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Staging Database and Live Database

Thank you for the reply - that's what I was planning for new stuff, other than I want them to be able to see it in context, so I do need some way for them to see this in a site context even though it's hidden from the live site.

Also, my concern was also about editing existing content.

Thanks again.
Gary.

Re: [garyhoffmann] Staging Database and Live Database

By Chris - September 19, 2009

Hi Gary,

You can create a second viewer (or set of viewers) which doesn't skip over "hidden" records and keep the URL secret.

For example:

list($blogRecords, $blogMetaData) = getRecords(array(
'tableName' => 'blog',

'ignoreHidden' => true, // don't hide records with hidden flag set
'ignorePublishDate' => true, // don't hide records with publishDate > now
'ignoreRemoveDate' => true, // don't hide records with removeDate < now
));


I'll try to think of a way to stage editing of existing records...
All the best,
Chris

Re: [chris] Staging Database and Live Database

Excellent - thank you for the reply. It looks like we have everything necessary for new information.

Any thoughts on existing content? For example, an article is posted, now they want to make changes to that article. Before taking that changed article live, they want to be able to have all "the powers that be" review it.

This has been the one that's got me the most concerned because I just don't see a way of doing it other than copy/paste into a new article.

Thanks,
Gary.

Re: [chris] Staging Database and Live Database

Hi Chris,

Please quote it for me. I'd like to know what to tell the prospect if this is something really important to them.

Thanks,
Gary.

Re: [garyhoffmann] Staging Database and Live Database

By Chris - September 22, 2009

Hi Gary,

I'll write you an email. :)
All the best,
Chris