(Net_LDAP2 & ADODB) vs (DB_ldap2 & MDB2)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
fairsayan
Forum Newbie
Posts: 7
Joined: Sun Dec 21, 2008 6:32 am

(Net_LDAP2 & ADODB) vs (DB_ldap2 & MDB2)

Post by fairsayan »

I'm looking for a library allowing me browing and manipulate LDAP entries and DB record in the same way.
I found 2 solutions:
case 1:
for LDAP -> PEAR Net_LDAP2 (http://pear.php.net/package/Net_LDAP2)
for DB -> ADODB (http://sourceforge.net/projects/adodb/)

pro: these 2 packages are good and well maintained
cont: I need to write another class to wrap these 2 packages

case 2:
for LDAP -> PEAR DB_ldap2 (http://pear.php.net/package/DB_ldap2)
for DB -> PEAR MDB2 (http://pear.php.net/package/MDB2)

pro: I don't need to write anything: DB_ldap2 is a plugin of DB PEAR the previous version of MDB2
cont: DB_ldap2 is not maintained any more

I think the first solution is the best. Don't you think?

Fair
Post Reply