On 20/01/2011 19:27, Manuel Alejandro Gómez Nicasio wrote:
Hi everyone!

I'm working on a project with symfony 1.4 and propel as a ORM. These days we are thinking about the possibility of make some changes to the project.

What we think is if is posible to change de PDO with other library, maybe adoDB.

Do you think this is possible? What would be the advantages and disadvantages of doing that? If is possible and taking care the project is almost already to go into production, how hard would it be? and how long would it take?

We googled but we didn't found anything on this topic.

IMHO, I think isn't possible or at least it would be needed to modify so many symfony core files and this could impact on the symfony performance. Also that the changes will take time and the project must be released ASAP.

What do you think about this? There's a real big advantage of using adoDB instead of PDO?

Cheers!
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
Propel with symfony 1.4 already uses PDO. There will be no benefits and in fact possibly some losses as Propel is a more actively project than adoDB, so my suggestion is stick to what you are using. PDO is a built-in PHP core feature, whereas adoDB is like Propel without PDO so really there is no point.

Symfony does not really support Propel so you are right when you say that it will be a lot of work. Also, why bother even thinking about changing? Is Propel not working? Does it break something? If you are worried about performance don't! Wait until you go live and see how things go. Performance issues are one of those problems you WANT to have because it indicates you are popular. Once you are popular then worry about performance. That being said, adoDB will not significantly increase performance, in fact, probably reduce it.

--
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
identi.ca: @garethmcc

--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to