antmeeks Posted September 17, 2012 Share Posted September 17, 2012 I'm making the switch from years of using plain-jane 'deprecated' MySQL functions to PDO in a lot of my scripts. Consequently, I'm looking for a good, well-known & well-liked PDO wrapper / extension class. Something that automates some common db access functions (CRUD), handles try/catch/exceptions, and keeps track of metrics (query count, memory usage, etc.)... If anyone can point me in a direction, I'd really appreciate it!! Link to comment https://forums.phpfreaks.com/topic/268463-pdo-wrapper/ Share on other sites More sharing options...
trq Posted September 17, 2012 Share Posted September 17, 2012 Have you looked at Doctrine's DBAL? Link to comment https://forums.phpfreaks.com/topic/268463-pdo-wrapper/#findComment-1378587 Share on other sites More sharing options...
antmeeks Posted September 17, 2012 Author Share Posted September 17, 2012 Have you looked at Doctrine's DBAL? Yes, I have... And for my needs, that's like bringing a bulldozer to dig a flower bed... I'm really kinda looking for something more compact & straightforward... more along the lines of ezSQL (http://justinvincent.com/ezsql). Link to comment https://forums.phpfreaks.com/topic/268463-pdo-wrapper/#findComment-1378598 Share on other sites More sharing options...
xyph Posted September 17, 2012 Share Posted September 17, 2012 NotORM? http://www.notorm.com/ Link to comment https://forums.phpfreaks.com/topic/268463-pdo-wrapper/#findComment-1378625 Share on other sites More sharing options...
ignace Posted September 17, 2012 Share Posted September 17, 2012 ezSQL is a big no-no IMO since it coded against PHP4. NotORM is a much better alternative since it has been coded against 5.x+ and actually has automated tests though it's over 2 years old and has 14 open issues... Maybe the Zend\Db component is something for you? https://github.com/zendframework/zf2/tree/master/library/Zend/Db/Adapter/Driver/Pdo What kind of extensions built on top of PDO are you looking for? QueryObject? Link to comment https://forums.phpfreaks.com/topic/268463-pdo-wrapper/#findComment-1378687 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.