mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Mention versioned snapshots in the versions documentation (#9057)
* Mention versioned snapshots in the versions documentation * Add screenshot
This commit is contained in:
parent
1fc94ec88f
commit
2e33456e46
@ -11,6 +11,22 @@ from published content shown to your website visitors.
|
|||||||
|
|
||||||
Versioning in SilverStripe is handled through the [Versioned](api:SilverStripe\Versioned\Versioned) class. As a [DataExtension](api:SilverStripe\ORM\DataExtension) it is possible to be applied to any [DataObject](api:SilverStripe\ORM\DataObject) subclass. The extension class will automatically update read and write operations done via the ORM via the `augmentSQL` database hook.
|
Versioning in SilverStripe is handled through the [Versioned](api:SilverStripe\Versioned\Versioned) class. As a [DataExtension](api:SilverStripe\ORM\DataExtension) it is possible to be applied to any [DataObject](api:SilverStripe\ORM\DataObject) subclass. The extension class will automatically update read and write operations done via the ORM via the `augmentSQL` database hook.
|
||||||
|
|
||||||
|
<div class="notice" markdown="1">
|
||||||
|
There are two complementary modules that improve content editor experience around "owned" nested objects (e.g. elemental blocks).
|
||||||
|
Those are in experimental status right now, but we would appreciate any feedback and contributions.
|
||||||
|
|
||||||
|
You can check them out on github:
|
||||||
|
- https://github.com/silverstripe/silverstripe-versioned-snapshots
|
||||||
|
- https://github.com/silverstripe/silverstripe-versioned-snapshot-admin
|
||||||
|
|
||||||
|
The first one adds extra metadata to versions about object parents at the moment of version creation.
|
||||||
|
The second module extends CMS History UI adding control over nested objects.
|
||||||
|
|
||||||
|
<img width="600" src="../../_images/snapshot-admin.png" width="600">
|
||||||
|
|
||||||
|
*Example screenshot from versioned-snapshot-admin*
|
||||||
|
</div>
|
||||||
|
|
||||||
## Understanding versioning concepts
|
## Understanding versioning concepts
|
||||||
|
|
||||||
This section discuss how SilverStripe implements versioning and related high level concepts without digging into technical details.
|
This section discuss how SilverStripe implements versioning and related high level concepts without digging into technical details.
|
||||||
|
BIN
docs/en/_images/snapshot-admin.png
Normal file
BIN
docs/en/_images/snapshot-admin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 110 KiB |
Loading…
Reference in New Issue
Block a user