php - 哪个是用于 codeigniter 的最佳 PHP ORM?

标签 php codeigniter orm frameworks

<分区>

哪个是 codeigniter 框架的最佳 ORM。我看到了一些类似的问题,但它太旧了,链接也不起作用。谁能帮我解决这个问题?

最佳答案

数据映射器

An Object Relational Mapper written in PHP for CodeIgniter. It is designed to map your Database tables into easy to work with objects, fully aware of the relationships between each other.

网站:http://datamapper.wanwizard.eu/

气体 ORM

A lightweight and easy-to-use ORM for CodeIgniter. Gas was built specifically for CodeIgniter app. It uses CodeIgniter Database packages, a powerful DBAL which support numerous DB drivers. Gas ORM provide a set of methods that will map your database tables and its relationship, into accessible object.

网站:http://gasorm-doc.taufanaditya.com/

学说

网站:http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/

注意:您必须采取一些变通办法将其与 CI 集成,尝试 here .

编辑:学说,integrating with CodeIgniter (工作网址)。 这可能不适用于所有 CodeIgniter 版本,可能需要稍作调整。

关于php - 哪个是用于 codeigniter 的最佳 PHP ORM?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22816018/

相关文章:

php - 如果相同 uID 的其他行具有特定的单元格值,则查询 SELECT uID

web-services - NHibernate 投影到 DTO

javascript - 在调用 PHP 函数的 AJAX 请求后提交表单时重定向页面

php - for-each循环,大于20放入另一个数组

php - Codeigniter simple_query 与查询生成器(插入、更新和删除)

php - Codeigniter 通过 Ajax/Jquery 分页问题

javascript - 我应该如何最好地跟踪页面请求之间的计时器?

htmlentities 的 PHP XMLReader 问题

python - SQLalchemy 属性错误 : 'str' object has no attribute '_sa_instance_state'

php - 是否可以使用反射修改对象实例的方法