@@ -4,7 +4,7 @@ Part 1 - Getting Started
4
4
Initializing the Project
5
5
~~~~~~~~~~~~~~~~~~~~~~~~
6
6
7
- First, follow the generic steps in :doc: `create_new_project_phpcr_odm ` to
7
+ First, follow the generic steps in :doc: `../ create_new_project_phpcr_odm ` to
8
8
create a new project using the PHPCR-ODM.
9
9
10
10
Install Additional Bundles
@@ -53,7 +53,7 @@ Initialize the Database
53
53
.......................
54
54
55
55
If you have followed the main instructions in
56
- :doc: `create_new_project_phpcr_odm ` then you are using the `Doctrine DBAL
56
+ :doc: `../ create_new_project_phpcr_odm ` then you are using the `Doctrine DBAL
57
57
Jackalope `_ PHPCR backend with MySQL and you will need to create the MySQL
58
58
database:
59
59
@@ -243,7 +243,7 @@ example with ``{{ path(content) }}`` in Twig).
243
243
Repository Initializer
244
244
~~~~~~~~~~~~~~~~~~~~~~
245
245
246
- :ref: `Repository initializers <../../bundles/phpcr_odm >` enable you to establish and maintain PHPCR nodes
246
+ :ref: `Repository initializers <phpcr-odm-repository-initializers >` enable you to establish and maintain PHPCR nodes
247
247
required by your application, for example you will need the paths
248
248
``/cms/pages ``, ``/cms/posts `` and ``/cms/routes ``. The ``GenericInitializer ``
249
249
class can be used easily initialize a list of paths. Add the following to your
@@ -305,7 +305,9 @@ service container configuration:
305
305
.. note ::
306
306
307
307
The initializers operate at the PHPCR level, not the PHPCR-ODM level - this
308
- means that you are dealing with nodes and not documents.
308
+ means that you are dealing with nodes and not documents. You do not have
309
+ to understand these details right now. To learn more about PHPCR read
310
+ :doc: `../database/choosing_storage_layer `.
309
311
310
312
Execute the ``doctrine:phpcr:repository:init `` command to initialize (or
311
313
reinitialize) the repository:
@@ -401,3 +403,5 @@ You should now have some data in your content repository.
401
403
.. _`sonata-project/doctrine-phpcr-admin-bundle` : https://packagist.org/packages/sonata-project/doctrine-phpcr-admin-bundle
402
404
.. _`doctrine/data-fixtures` : https://packagist.org/packages/doctrine/data-fixtures
403
405
.. _`doctrine dbal jackalope` : https://github.com/jackalope/jackalope-doctrine-dbal
406
+ .. _`Apache Jackrabbit` : `https://jackrabbit.apache.org`
407
+ .. _`pre persist lifecycle event` : http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/events.html#lifecycle-callbacks
0 commit comments