哪个是适用于codeigniter的最佳PHP ORM? [英] Which is the best PHP ORM for codeigniter?

查看:118
本文介绍了哪个是适用于codeigniter的最佳PHP ORM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于codeigniter框架,这将是最好的ORM.我看到了一些类似的问题,但是它太旧了,链接无法正常工作.有人可以帮我吗?

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

用PHP为CodeIgniter编写的对象关系映射器.它旨在将您的数据库表映射为易于使用的对象,充分了解彼此之间的关系.

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/

用于CodeIgniter的轻巧易用的ORM. Gas是专门为CodeIgniter应用程序构建的.它使用CodeIgniter数据库软件包,这是一个功能强大的DBAL,支持许多DB驱动程序. 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.

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

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

注意:您必须采取一些变通办法才能将此问题与CI集成,请尝试

NOTE: You must do some workaround to integrate this with CI, try here.

编辑:学说, 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆