Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best ORM to use with codeigniter (php framework) and why? [closed]

What is the best ORM to use with codeigniter (php framework) and why?

like image 879
Imran Avatar asked Dec 29 '10 23:12

Imran


People also ask

What ORM is used in CodeIgniter?

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.

Does CodeIgniter have ORM?

The ORM Model validation integrates CodeIgniter Form Validation that provides consistent and smooth way to deal with model data validation.

Does PHP have ORM?

The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping. The core projects are the Object Relational Mapper (ORM) and the Database Abstraction Layer (DBAL) it is built upon.


1 Answers

As DrColossos suggests, Doctrine is a good and powerful ORM which can be fairly easily plugged into a CI application. For CodeIgniter 2 & Doctrine 2, you can use this tutorial on Setting up CodeIgniter 2 with Doctrine 2 the Right Way.

like image 106
thomaux Avatar answered Sep 29 '22 10:09

thomaux