开发者

Codeigniter like Database class

I am moving onto making some open source software for kicks, from scratch (not using a framework) and I was building my own database class to use, so queries wo开发者_运维百科uld be simpler and all run through the same methods.

Ideally it would work like codeigniters database class:

$db->where("field", "value");
$db->get();

So on and so forth, and decided I may as well not reinvent the wheel if there is already something out there like it, though google searching didn't bring me much.

Any ideas? Thanks guys.


Check out Idiorm, a fluent query builder for PHP5+.

https://github.com/j4mie/idiorm

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜