I believe that part of the answer depends on which CMS you use and how your web application is configured, but in general I would consider data such as news or events, like “content”. In other words, this is not part of your application - it is the data that your application processes.
Of course, there will be version issues between your CMS code and your application code. You can control this by defining the interface between them. Personally, I would publish the data in a web application as XML, which gives you the ability to use an XML schema to determine what the CMS needs to create and what the web application should expect to process.
This should mean that most of the changes in the web application can be made without a corresponding change in the rendering of the data. When changes to the functionality require this, you can create a new version of the circuit and continue the promotion. In this case, I would check the circuit in the web application code, but YMMV.
This is not easy, and it becomes more complicated again if you need additional data fields in your CMS. Expect to plan a rather complicated release process (also depending on how complex your Dev-Test-Acceptance-Production script is.)
If you are not using CMS, you should think about it. (Of course, if the operation is very small, it can still fall into the category where it can be done manually). Simply placing raw data in a version control system does not solve the problem - you should be able to control the format in which your data is published in a web application. It is almost certain that this format should be something intended for consumption by the software and, therefore, is usually not suitable for manual editing by people who write news or events.
Dominic Cronin
source share