@@ -137,6 +137,15 @@ And then access the CMF via:
137
137
use another driver than SQLite. Leaving the field blank in the
138
138
web-configurator will set it to ``null ``.
139
139
140
+ .. note ::
141
+
142
+ The proper term to use for the default database of the CMF is
143
+ *content repository *. The idea behind this name is essentially to describe a
144
+ specialized database created specifically for content management systems.
145
+ The acronym *PHPCR * actually stands for *PHP content repository *. But as
146
+ mentioned before, the CMF is storage agnostic so its possible to combine
147
+ the CMF with other storage mechanism, like Doctrine ORM, Propel etc.
148
+
140
149
Overview
141
150
--------
142
151
@@ -168,13 +177,13 @@ into a browsable website. The overall, simplified process is:
168
177
169
178
* When a request is received, the :doc: `Symfony CMF Routing's Dynamic Router <routing >`
170
179
is used to handle the incoming request;
171
- * The Dynamic Router is able to match the requested URL with a specific
172
- ContentBundle's Content stored in the database;
173
- * The retrieved content's information is used to determine which controller to
180
+ * The Dynamic Router is able to match the requested URL to a `` Page `` document
181
+ provided by SimpleCmsBundle and stored inside the database;
182
+ * The retrieved document information is used to determine which controller to
174
183
pass it on to, and which template to use;
175
- * As configured, the retrieved content is passed to ContentBundle's
176
- `` ContentController ``, which will handle it and render AcmeMainBundle's
177
- `` layout.html.twig `` .
184
+ * As configured, the retrieved document is passed to `` ContentController ``
185
+ provided by the ContentBundle, which render document into `` layout.html.twig ``
186
+ of the AcmeMainBundle .
178
187
179
188
Again, this is simplified view of a very simple CMS built on top of Symfony
180
189
CMF. To fully understand all the possibilities of the CMF, continue reading
@@ -216,7 +225,8 @@ into the PHPCR database by calling:
216
225
217
226
Note that the above identifier is mapped to
218
227
``app/Resources/data/pages/test.yml `` by stripping off the ``basepath ``
219
- configuration of the SimpleCmsBundle (which defaults to ``/cms/simple ``)....
228
+ configuration of the SimpleCmsBundle (which defaults to ``/cms/simple ``).
229
+
220
230
Therefore if you want to define a child page ``foo `` for ``/cms/simple/test ``
221
231
you would need to create a file ``app/Resources/data/pages/test/foo.yml ``
222
232
and then run the following command:
0 commit comments