首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > BML提供了一种替代PHP MySQL的标准库,允许用户用较少的MySQL代码执行功能强大的查询。

BML提供了一种替代PHP MySQL的标准库,允许用户用较少的MySQL代码执行功能强大的查询。

  • 资源大小:14.39 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: php mysql Library

资 源 简 介

The built-in MySQL library for PHP is clunky, often requires multiple lines of code to perform a basic task, and provides no interface on top of MySQL. BML, like many MySQL libraries, goes about fixing these things. In BML, queries are structured in a more php-style, object-oriented manner, so your code doesn"t become littered with MySQL blocks. BML is unique from other popular database libraries as it is table-based as opposed to database based. Table objects are constructed from which you can run queries. When you think about it, a syntax such as $db->select("table", "*"); doesn"t make as much sense as $table->select("*");. Database level queries are still sometimes necessary, and therefore made possible by the static BML::query() method. BML gives a more object-oriented approach to MySQL queries but doesn"t take away from any of MySQL"s functionality. Additionally, enabling debug mode
VIP VIP
  • 大智若愚 1小时前 成为了本站会员

  • Mason 4小时前 成为了本站会员

  • 4小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

0.168085s