-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mongo Support #2
Comments
MongoDB support via the ODM is planned, but it's still TBD how exactly this is going to work and implemented. Some discussion needs to be done on this. When switching from PDO/Zend\Db to doctrine you also need to change the user model class config value right now to ZfcUser\Entity\User. The documentation in the readme is slightly out of date. |
I'm doing some hacks for now, its kinda of getting there however the Spiffy modules have now been refactored to DoctrineModule and DoctrineORMModule and no ODM one yet, I had to add in new mapper classes for the mongo documentmanager stuff and i'm having to extend the User document to add in custom fields as the social login profile has its own embedded document inside User with the social profile data. No idea how long it will take to stablise as stuff keeps being refactored. I have also added in some customisations to configure the form capture which also works disabling by returning false. This lets me configure recaptcha will send diffs if needed. |
I see what the problem is, it might need to be a factory, as it could either have ODM or ORM loaded, right now i just commented out the loaders for ORM and loaded ODM instead. I have made some hacks to setup an ODM validator for the email field, and re linked it to the newly refactored DoctrineModule/ DoctrineODMModule however I have to send them the diffs first ;) |
[WIP] Feature/tests2
Hi guys I am implementing ODM into Zf2, I have it working nicely now with tests but would love to implement this module with ODM support and 3rd party oauth logins. Any ideas of the progress, I tried to finish what is done myself but it seems the DI will cause errors if the PDO configs are missing. Just want to have ODM stuff loaded. Let me know of the progress and if help is required.
The text was updated successfully, but these errors were encountered: