| Author |
Message |
|
2008/04/27 01:32
|
|
|
jmdavid
Joined: 2008/04/27
Messages: 2
Offline
|
|
|
|
|
Is there any plan to support other framework? Ezpdo generates crap associative tables in the database. Doctrine is much better.
|
|
|
|
 |
| |
|
2008/04/28 11:43
|
|
|
Rain
Joined: 2005/04/29
Messages: 735
Offline
|
|
|
|
Hello jmdavid,
Thanks for your message. Actually our PHP ORM is already using Ezpdo. Would you mind tell me what do you mean by "generates crap associative tables in the database"? Or would you mind tell me more details on what you looking for? Looking forward to hear your reply.
Best regards,
Rain Wong
|
|
|
|
 |
| |
|
2008/04/29 03:12
|
|
|
jmdavid
Joined: 2008/04/27
Messages: 2
Offline
|
|
|
|
Ezpdo generates ez_relation_whatever for every association, here is an example of a table called ez_relation_address_contact, where I have a contact with ID 2 and an address of ID 20, ezpdo creates 2 records for bi-directional relation:
class_a oid_a var_a base_b class_b oid_b
1-Address 20 contact Contact Contact 2
2-Contact 2 addresses Address Address 20
When you have to deal with data manipulation directly in SQL, for reporting for example, it's a mess.
Doctrine works in a cleaner manner. I guess Doctrine will become THE facto standard as soon as it will be 1.0 release.
Thank you.
|
|
|
|
 |
| |
|
2008/04/29 15:35
|
|
|
Rain
Joined: 2005/04/29
Messages: 735
Offline
|
|
|
|
Hello jmdavid,
Thanks for your details. I'll discuss with our engineers and get back to you about their feedback. If you need any help, please do not hesitate to contact me again.
Best regards,
Rain Wong
|
|
|
|
 |
| |