NotORM

NotORM是一个PHP库,用于简单处理数据库中的数据。(NotORM is a PHP library for simple working with data in the database. )

  • 所有者: vrana/notorm
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

NotORM是一个PHP库,用于简单处理数据库中的数据。 最有趣的特性是与表关系的非常简单的工作。 整体性能也非常重要,而NotorM实际上可以比原生驱动程序运行得更快。 数据库的NotORM就像SimpleXML for XML文档。

要求:PHP 5.1+与PDO支持的任何数据库 - 使用MySQL,SQLite,PostgreSQL,MS SQL,Oracle(Dibi支持已过时)进行测试
免费用于商业和非商业用途(Apache许可证或GPL)

用法示例:

<?phpinclude "NotORM.php";$connection = new PDO("mysql:dbname=software");$software = new NotORM($connection);foreach ($software->application()->order("title") as $application) { //get all applications ordered by title    echo "$application[title]\n"; //print application title    echo $application->author["name"] . "\n"; //print name of the application author    foreach ($application->application_tag() as $application_tag) { //get all tags of $application        echo $application_tag->tag["name"] . "\n"; //print the tag name    }} ?>

概覽

名稱與所有者vrana/notorm
主編程語言PHP
編程語言PHP (語言數: 1)
平台
許可證
發布數0
創建於2010-04-28 14:37:57
推送於2019-02-28 09:52:17
最后一次提交2014-10-30 09:35:32
星數859
關注者數67
派生數162
提交數254
已啟用問題?
問題數97
打開的問題數31
拉請求數0
打開的拉請求數10
關閉的拉請求數34
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

NotORM - http://www.notorm.com/

NotORM is a PHP library for simple working with data in the database. The most interesting feature is a very easy work with table relationships. The overall performance is also very important and NotORM can actually run faster than a native driver.

Requirements:
PHP 5.1+
any database supported by PDO (tested with MySQL, SQLite, PostgreSQL, MS SQL, Oracle)

Usage:

去到頂部