silverstripe / content-services
An abstraction from reading and writing content directly to the filesystem.
Installs: 5 574
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 6
Forks: 3
Type:silverstripe-module
Requires
- silverstripe/cms: >=3.1.0
- symbiote/silverstripe-multivaluefield: ~2.4
Replaces
README
Provides abstraction around the way content is referred to in the system
Overview
Abstracts the process of reading and writing to files behind ContentReader and ContentWriter objects, tied together by a ContentService that simplifies the creation and management of these objects.
Content items are then referred to by their ContentId, which is a string that represents the type of storage and a way of retrieving the content from that storage location, eg
file:||content/folder/342/1233e342/filename.txt
Included is a Filesystem based implementation of ContentReader/Writer pair, which stores content on the filesystem in a content/ directory.
See https://groups.google.com/forum/?hl=en&fromgroups=#!topic/silverstripe-dev/Z7CmioND5Ow for some further discussion of what's going on.
Requirements
- SilverStripe 3.0
- MultiValueField