Which is the best PHP ORM for codeigniter?(哪个是 codeigniter 的最佳 PHP ORM?)
问题描述
对于 codeigniter 框架来说,这将是最好的 ORM.我看到了一些类似的问题,但它太旧了,链接不起作用.谁能帮我解决这个问题?
DataMapper
<块引用>用 PHP 为 CodeIgniter 编写的对象关系映射器.它旨在将您的数据库表映射为易于使用的对象,充分了解彼此之间的关系.
网站:http://datamapper.wanwizard.eu/
气体 ORM
<块引用>用于 CodeIgniter 的轻量级且易于使用的 ORM.Gas 是专门为 CodeIgniter 应用程序构建的.它使用 CodeIgniter 数据库包,这是一个强大的 DBAL,它支持许多 DB 驱动程序.Gas ORM 提供了一组方法,可以将您的数据库表及其关系映射到可访问的对象中.
网站:http://gasorm-doc.taufanaditya.com/
教义
网站:http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/
注意:您必须采取一些变通方法才能将其与 CI 集成,请尝试 这里.
编辑:学说,与 CodeIgniter 集成(工作 URL).这可能不适用于所有 CodeIgniter 版本,可能需要稍作调整.
Which would be the best ORM for the codeigniter framework. I saw some similar questions but it was too old and the link didn't work. Can anyone help me out with this?
DataMapper
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.
Website: http://datamapper.wanwizard.eu/
Gas 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.
Website: http://gasorm-doc.taufanaditya.com/
Doctrine
Website: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/
NOTE: You must do some workaround to integrate this with CI, try here.
EDIT: Doctrine, integrating with CodeIgniter (working URL). This might not work for all CodeIgniter versions and may require slight adjustments.
这篇关于哪个是 codeigniter 的最佳 PHP ORM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:哪个是 codeigniter 的最佳 PHP ORM?
基础教程推荐
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
