开发者

code igniter style mysqli database wrapper? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 3 years ago.

Improve this question

I am building an application that, due to other reason's 开发者_开发百科cannot use Code Igniter,

I am wondering if there is a library out there for mysql/mysqli that provides the same functionality as Code igniters DB class.

I am mostly looking into the ability to go

$db->select('username, password')->from('users')->where('id = "123"')->limit(1)->get();

The ability to build your query as you go using a set of functions.

method chaining is also useful.


sounds like http://www.notorm.com/ is what you want.


Look for Zend Framework, http://framework.zend.com - you dont need to use whole package just Zend_Db peace - very usefull if you want to skip all mess related to reinventing the wheel (create ubject to connect to db and have SQL wrapper)


You can try PHP Classes library. It will help you to get data from database as core php.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜