symbiote/silverstripe-content-services

An abstraction from reading and writing content directly to the filesystem.

Installs: 3 252

Dependents: 2

Suggesters: 0

Security: 0

Stars: 6

Watchers: 6

Forks: 3

Open Issues: 0

Type:silverstripe-module

2.0.7 2020-06-22 04:55 UTC

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