PHP數據庫操作類:ezSQL

jopen 11年前發布 | 30K 次閱讀 PHP PHP開發

ezSQL是一個開源的PHP數據庫操作類,用在超過10萬個網站上面,包括最有名的wordpress博客程序中。它可以用在操作mySQL, Oracle8, SQLite, postgresql等等的數據庫中。目前的2.1版本還有對PHP開源框架CodeIgniter的支持。

它的優點就不多說了,總之強大,開源。還有就是安全。你沒想到的細節它都為你考慮了。所以盡可下載來嘗試下,就當作學習也是好的。也可以放在你的應用或者框架中。

ezSQL 特性:

  • ezSQL is a widget that makes it ridiculously easy for you to use PHP-PDO, mySQL, Oracle8, InterBase/FireBird, PostgreSQL, SQLite (PHP), SQLite (C++) or MS-SQL database(s) within your PHP/C++ scripts (more db’s coming soon) – now works with codeigniter!
  • Completely free, no restrictions what-so-ever
  • It is one php file that you include at the top of your script. Then, instead of using standard php database functions listed in the php manual, you use a much smaller (and easier) set of ezSQL functions.
  • It automatically caches query results and allows you to use easy to understand functions to manipulate and extract them without causing extra server overhead
  • It has excellent debug functions making it lightning-fast to see what’s going on in your SQL code
  • Most ezSQL functions can return results as Objects, Associative Arrays, or Numerical Arrays
  • It can dramatically decrease development time and in most cases will streamline your code and make things run faster as well as making it very easy to debug and optimise your database queries.
  • Works with Smarty templating language
  • It is a small class and will not add very much overhead to your website.


 

項目主頁:http://www.baiduhome.net/lib/view/home/1358174115574

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!