-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #869 from doctrine/add-more-doc
add some more documentation from cmf docs
- Loading branch information
Showing
4 changed files
with
83 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.. index:: | ||
single: PHPCR Implementations | ||
|
||
Choosing a PHPCR Implementation | ||
=============================== | ||
|
||
To use PHPCR-ODM, you need to decide on the PHPCR implementation you want to | ||
use. The implementation is a special kind of database that is responsible for | ||
storing all the content you want to persist. While every content repository | ||
can have very different requirements and performance characteristics, the API | ||
is the same for all of them. | ||
|
||
Furthermore, since the API defines an export/import format, you can always | ||
switch to a different content repository implementation later on. | ||
|
||
.. tip:: | ||
|
||
If you are just getting started with the CMF, it is best to choose a | ||
content repository based on a storage engine that you are already familiar | ||
with. For example, **Jackalope with Doctrine DBAL** will work with your | ||
existing RDBMS and does not require you to install Java Once you have a | ||
working application it should be easy to switch to another option. | ||
|
||
Jackalope with Jackrabbit | ||
------------------------- | ||
|
||
The most feature complete and performant implementation available today. | ||
Jackrabbit can persist into the file system, a database and other storage | ||
layers. | ||
|
||
The main drawback is that Jackrabbit requires the Java runtime. | ||
|
||
See :doc:`running-jackrabbit` for instructions how to install and run jackrabbit. | ||
|
||
Jackalope with Doctrine DBAL | ||
---------------------------- | ||
|
||
A solid and tested implementation that is fine for small to medium sized | ||
projects. It can run on just a relational database (currently tested with | ||
MySQL, PostgreSQL and SQLite). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.. index:: | ||
single: Jackrabbit | ||
|
||
Running Jackrabbit | ||
================== | ||
|
||
`Apache Jackrabbit`_ is the reference implementation for the Java Content | ||
Repository (JCR) standard. `jackalope-jackrabbit`_ implements PHPCR on top | ||
of the Jackrabbit remoting capabilities. | ||
|
||
Get the latest Apache Jackrabbit version from the project's | ||
`official download page`_. Place it in a folder where you want it | ||
to create the repository fields and start is with: | ||
|
||
.. code-block:: bash | ||
$ java -jar jackrabbit-standalone-*.jar | ||
By default the server is listening on the 8080 port, you can change this | ||
by specifying the port on the command line: | ||
|
||
.. code-block:: bash | ||
$ java -jar jackrabbit-standalone-*.jar --port 8888 | ||
For unix systems, you can get the start-stop script for ``/etc/init.d`` | ||
`here`_. | ||
|
||
More information about `running a Jackrabbit server`_ can be found on the | ||
Jackalope wiki. | ||
|
||
.. _`Apache Jackrabbit`: http://jackrabbit.apache.org/jcr/index.html | ||
.. _`jackalope-jackrabbit`: https://github.com/jackalope/jackalope-jackrabbit | ||
.. _`official download page`: http://jackrabbit.apache.org/jcr/downloads.html | ||
.. _`here`: https://github.com/sixty-nine/Jackrabbit-startup-script | ||
.. _`running a Jackrabbit server`: https://github.com/jackalope/jackalope/wiki/Running-a-jackrabbit-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters