Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit c987a36

Browse files
committed
added some more notes on storage agnosticity, typo fixes
1 parent c147c57 commit c987a36

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tutorials/choosing-a-storage-layer.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Requirements for a CMS storage layer
1919
At the most fundamental level a CMS is about storing, so the first requirement
2020
is that *a CMS must provide means to store content with different properties*.
2121

22-
A CMS has very different storage needs than f.e. a system for processing orders.
22+
A CMS has very different storage needs than for example a system for processing orders.
2323
Do note however that its entirely possible and very intended of the CMF initiative
2424
to enable developers to combine the CMF with a system for processing orders. So
25-
f.e. one could create a shopping solution using the CMF for storing the product
25+
for example one could create a shopping solution using the CMF for storing the product
2626
catalog, while using another system for maintaining the inventory, customer data
2727
and orders. This leads to the second requirement, *a CMS must provide means to reference content*,
28-
both content stored inside the CMS, but also in other sysytems.
28+
both content stored inside the CMS, but also in other systems.
2929

3030
The actual content in a CMS tends to be organized in a tree like structure, mimicking
3131
a file system. Note that content authors might want to use different structures for how
@@ -70,7 +70,7 @@ tree structure to quickly manage access for entire subtrees.
7070

7171
Finally not all steps in the content authoring process will be done by the same person.
7272
As a matter of fact there might be multiple steps all of which might not even be done
73-
by a person. Instead some of the steps might even be executed by a machine. So f.e.
73+
by a person. Instead some of the steps might even be executed by a machine. So for example
7474
a photographer might upload a new image, a content author might attach the photo
7575
to some text, then the system automatically generates thumbnails and web optimized
7676
renditions and finally an editor decides on the final publication. Therefore
@@ -121,6 +121,12 @@ of them can be abstracted. So again using an ORM one could create a pluggable sy
121121
mangaging tree structures with different algorithms which prevent binding the business logic
122122
of the CMS to a particular algorithm.
123123

124+
However it should be said once more, that all Bundles and Components in the CMF are developed
125+
to enable any persistent storage API and we welcome contributions for adding implementations
126+
for other storage systems. So for example RoutingExtraBundle currently only provides Document
127+
classes for PHPCR ODM, but the interfaces defined in the Routing component are storage
128+
agnostic and we would accept a contribution to add Doctrine ORM support.
129+
124130
PHPCR
125131
~~~~~
126132

0 commit comments

Comments
 (0)