Welcome Guest, Not a member yet? Register   Sign In
A similar CodeIgniter Database class in native php?
#1

[eluser]Unknown[/eluser]
Hi all,
Is there a class that is similar to the CodeIgniter Database class outside of php? There are some instances where I cannot use CI but I love the database class in CI. Is there an alternative?

Thanks!
#2

[eluser]imzyos[/eluser]
native... NO, PDO on php5 rlz but, if you want find a external library, propel, doctrine, even the CI database class could be separate from CI
#3

[eluser]Jim OHalloran[/eluser]
There's a couple of libraries around with similar interfaces to the CI database library. I've used ezSQL, it's lightweight, and pretty powerful (but no ActiveRecord, which I don't use anyway). There's also adodb which works very well, and has an ActiveRecord implementation.

I'm sure with some changes the CI DB class could also be used outside of the CI framework.

Jim.




Theme © iAndrew 2016 - Forum software by © MyBB