Anyone have suggestions on wrappers for SQL within PHP? I've been using ezSQL, which is awesome, but wanted to see if anyone had any other suggestions.
That's not really a wrapper for SQL. Just handles database communication, you'll still have to write the SQL queries.
seanmonstar
2009-05-05 17:11:26
With ezSql you also have to write the SQL yourself. Wrapper might be a good name?
Andomar
2009-05-05 17:18:39
+1
A:
I suggest Zend Framework DB backage, it has adapters for most database connectivity (PDO, MySQL, SQL Server, Oracle, Sqlite), is object oriented and uses row gateway and table gateway patterns, prevents SQL injections, works with stored procedures, has a builtin profiler etc. but If you want some ORM solution, I suggest Propel, or Doctorine.
farzad
2009-05-05 17:34:40
+2
A:
Doctrine, if you want full blown ORM. Zend_DB_Table is fine if all you need is a query builder.
Imran
2009-05-05 17:35:16