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

No page showing how to connect to Jackalope Jackrabbit (?) #586

Open
dantleech opened this issue Oct 11, 2014 · 7 comments
Open

No page showing how to connect to Jackalope Jackrabbit (?) #586

dantleech opened this issue Oct 11, 2014 · 7 comments

Comments

@dantleech
Copy link
Member

There are at least 2 places (DoctrinePHPCRBundle and Starting a new project ...) that detail how to setup doctrine dbal, but they don't seem to show how to connect to Jackrabbit.

We should show both.

@wouterj
Copy link
Member

wouterj commented Oct 11, 2014

Isn't that the scope of the PHPCR ODM documentation of Doctrine? We only need to document Symfony integration.

@dantleech
Copy link
Member Author

Maybe. But the DoctrinePhpcrBundle is documented here: http://symfony.com/doc/master/cmf/bundles/phpcr_odm/introduction.html

i,e. this is specific to the bundle.

@wouterj
Copy link
Member

wouterj commented Oct 11, 2014

Maybe I know too less about the subject, but isn't DoctrinePhpcrBundle not just implementing PHPCR-ODM into Symfony2? In other words, is how to connect to jackalope jackrabbit the same when using the bundle and using it standalone?

@dantleech
Copy link
Member Author

No, for example in DoctrinePHPCRBundle you specify url for the Jackrabbit URL, but if you were connecting to the repository in PHP you would use jackalope.jackrabbit_uri (thats not a typo btw, the doctrine one is URL and the jackrabbit one is URI :P )

@wouterj
Copy link
Member

wouterj commented Oct 11, 2014

Ah, got it. Thanks for your patience!

It is covered in the config reference btw: http://symfony.com/doc/current/cmf/bundles/phpcr_odm/configuration.html#phpcr-session-with-jackalope-jackrabbit Do you think we need to do more?

I'm -1 on adding the instructions to the tutorial, we should keep that as simple and minimal as possible. We can however improve the bundle docs if we need more.

@dantleech
Copy link
Member Author

Ah yeah. I missed that. I did look in about 3 different places however and didn't find this. We should reference it.

@dbu
Copy link
Member

dbu commented Oct 12, 2014

+1 for not repeating this in tutorials but linking to the reference for
alternate paths. the tutorials show how to use sqlite/mysql? i guess
that is ok to have a minimal config in the tutorial, to avoid the
jumping back and forth problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants