CodeIgniter Forums
Using PDO with CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Using PDO with CodeIgniter (/thread-21535.html)



Using PDO with CodeIgniter - El Forum - 08-12-2009

[eluser]MEM[/eluser]
I'm the most newbie you can get on frameworks, programming, oop, design patterns etc, so please, have patience.

Right now, without CI, I'm using PDO for my database interactions.
I have a singleton myPDOclass that extends PDO and then I have an AbstractDAOClass that use this myPDO singleton class. All my DAO classes then extend my abstract class, hence, all the classes are database connected.

I don't know if I can keep this structure using CI, however, I would be glad if I can use PDO.

I've googled PDO and CodeIgniter and I've found no relevant information so, I'm just asking if someone could give me a hand on this and tell me, if it's possible, and if it could be easy implemented.

Regards,
MEM


Using PDO with CodeIgniter - El Forum - 08-13-2009

[eluser]MEM[/eluser]
I've found this thread:
http://ellislab.com/forums/viewthread/92313/

I believe that we can use PDO as we normally do, since codeIgniter uses PHP 5, so PDO in included no?


Regards,
MEM