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.
2
-
If ezSQL is awesome, why are you looking for a new wrapper? What additional features do you want?jmucchiello– jmucchiello2009-05-05 17:54:13 +00:00Commented May 5, 2009 at 17:54
-
I don't know that I want any additional features. I'm just testing the water for something different/better.Glen Solsberry– Glen Solsberry2009-05-05 18:31:28 +00:00Commented May 5, 2009 at 18:31
Add a comment
|
4 Answers
1 Comment
David
As long as your building with APC support and perhaps have memcache, the extensive feature list of Doctrine easily balances out its footprint.
2 Comments
seanmonstar
That's not really a wrapper for SQL. Just handles database communication, you'll still have to write the SQL queries.
Andomar
With ezSql you also have to write the SQL yourself. Wrapper might be a good name?
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.