What how to treat as source #11204
Replies: 2 comments 2 replies
-
Content is versioned in the database with a ContentItemVersionId. So, for example, if a developer uses Liquid templates stored in the database they will be versioned to be able to revert from a previous version. Of course, right now there is no UI to do so but at least we version the Content so that it is never really also "deleted". Yes, like with any other CMS some parts of the actual content are using "short codes" or "Liquid" or scripting to code some parts of the actual website from "runtime". That means that you will want to have a database backup plan to make sure that you don't lose some of these. Of course, there is always the Import/Export feature that will allow you to also make a backup recipe of the entire website with or without actual content data. The usual tooling for managing a database should be enough to do the database schema + data backups. For example, I use SQL Server Management Studio and Azure Data Studio to do these backups periodically. Then I add them to a repository to keep a history of these. The publish takes place when you do a "dotnet publish" to publish the actual source code of your solution. And also you can publish content from the content side of things because that's how the Content Management in Orchard Core works. You can publish or draft content items, knowing that they can also be versioned that way. So the "publish" concept in OC is about source code and content. Though, publishing source code is something a programmer will do. And publishing content is something that an author will do. |
Beta Was this translation helpful? Give feedback.
-
This I can envision being framed in terms of workflow, pushing and pulling various records between databases, dev to/from staging, pushing from dev or staging to prod, and so on. There is adequate separation of the various content item, composite records that this should be possible? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So, more of a general CMS question than
Orchard
, per se, I expect. What (necessarily, 'how') do we treat as "source".Obviously, any actual
CSharp
code informing the infrastructure, documentation, source source, resources, certificates, assemblies, etc.But what about for the content itself? We need to perform backups of the database backing the developer inner/outer and/or author inner/outer loops? Assuming that there is some sort of database versioning going on? The usual database administrator tooling fits the bill in this instance?
Will follow up in a separate question re: author inner/outer loops, when/where are publish operations taking place. From the VS solution? Or from an admin or author session to the content side of things?
If either or both of these are dups, apologies. Happy to shelf if there are already responses along these lines.
Appreciate the feedback, thanks...
Beta Was this translation helpful? Give feedback.
All reactions