On 3 Dec 2008, at 23:17, Matías López wrote:
> Some questions I have are: > > Which one is easier to create simple queries? That's a matter of personal preference. I personally think Propel's API is more intuitive, but they're both dead simple if you use DbFinder. > Which one is easier to create complex queries? See above. > Which one is faster? Speed shouldn't be your primary reason for choosing an ORM - if it is, don't chose an ORM, write raw SQL! ANY ORM is multiple orders of magnitude less efficient than raw SQL. You're trading speed for convenience. I know some people that REALLY disagree with the entire concept of ORMs, but they like writing SQL queries, and I don't. Propel is faster for simple queries, but Doctrine is WAY better at optimising complex queries. If you're unsure of which to use, use the DbFinder plugin to abstract from your ORM. Changing ORM is then just a simple case of creating a new schema in the ORM specific format, regenerating your models, and off you go. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
