Hi all,

I was wondering if anyone has experience with using Doctrine2 in combination 
with Symfony1. The company I work for has build an SF1&D1-based back end 
application, which I took part in. We have, in the meantime, started on a 
front end project, which uses Doctrine2, and would like to use the same 
model layer for both projects, as they both use the same databases. My 
question is: does it make sense to try to migrate to Doctrine 2, or will it 
take too much time to do so?

As I said, both projects use multiple databases (+/- 12), each containing 
50+ tables but with very similar schema's, which is part of the reason we 
want to have 1 model layer. For our back end application, we rely on the SF1 
admin generator (with lots of customizations) and we also make extensive use 
of Doctrine1 behaviours and pre/post save hooks. 

I am aware it used to be possible to be possible to use D2 in combination 
with SF1, but the only "official" blog post about this was posted in October 
2009: http://symfony.com/blog/symfony-and-doctrine-2 and another useful 
article is this one, altough it also seems to be outdated as well: 
http://eatmymonkeydust.com/2010/03/using-doctrine-2-with-symfony-1-x-part1/


Personally I think it's wiser to spend time on a full migration from SF1&D1 
to SF2&D2, but I could be wrong of course. I am still very unfamiliar with 
SF2, unfortunately.

Any advise on this would be much appreciated!

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to