-
Notifications
You must be signed in to change notification settings - Fork 16
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
What persistance systems do we have to support for first release? #1
Comments
i would say if the library comes with the base code and just doctrine
ORM support, that is a good start. whoever needs the other storages can
contribute them. if you manage two systems (i assume by ODM you mean the
MongoDB ODM, not the couchdb odm or phpcr-odm), its even better because
it will show whether the models are somehow too closely tied to the ORM
thinking.
|
I think I will start with Doctrine ORM yes. I will implement Mongo ODM later and we will see if other persistance systems could be interesting. Thanks @dbu ! |
Keep in mind that one of the reasons FOSMessageBundle became stale in updates was that if you wanted to add a feature you had to add it for both drivers or it wouldn't get accepted... It's hard to keep those things in sync. |
If we talk about "for first release" then Abstract layer and one implementation like Doctrine ORM will be enough. |
@tgalopin I'm dreaming of killing the propel 1 support in FOSUserBundle actually. The fact that it requires to extend the Propel base class means I have to duplicate everything for propel support. Regarding the different Doctrine implementations, the great things is that many code can be shared (you need different implementations only for places where you perform complex queries). And they don't require special entity/document classes (the model class just has a dependency on |
@Miliooo That's a very good point. With this and @stof explainations, I think we will go only for Doctrine ORM and Mongo ODM. @stof Thanks for your feedback. I already planned to make the library depend on |
I close this as we made our decision. |
Hello everyone,
One of the questions we have to ask ourselves is what persistance system do we have / want to support for first release?
I think Doctrine ORM and ODM are clearly needed. However, I don't know very well the popularity of the others.
FOSUserBundle supports Propel. Are there a lot of people using Propel?
Does anyone else use another persistance layer and would like a support for it in the library?
The text was updated successfully, but these errors were encountered: