Welcome Guest, Not a member yet? Register   Sign In
ORM on CI 3.0?
#1

Greetings!
So I'm completely new in PHP, and have been given the development of a web app as the final project of a subject. It is neither too big or too small, it's supposed to be a ticket sales manager for a local airliner (with quite some restrictions).
Me and my group chose Codeigniter 3.0 as our framework. We read the user manual, completed the tutorial, developed a fully functional database, and coded a basic web interface
But then we stumbled upon the problem of persistency
Some of our friends told us they tried to use Gas ORM with CI 3.0 and had horrible results (which doesn't quite surprise me, I just took a look at it's webpage and seems like it's only compatible with 2.x... and haven't been updated since 2013). They just gave in and downgraded to 2.x so they could use datamapper, which seems to be a highly praised and well documented orm
So long story short, is there any reliable and easy to use ORM for CI 3.x any of you would recommend? Or is downgrading a safer bet?
Thanks in advance!
Reply
#2

Downgrading is a horrible choice - 2.x will be officially abandoned by the end of the week.
Reply
#3

(10-26-2015, 01:00 AM)minunisne Wrote: Greetings!
So I'm completely new in PHP, and have been given the development of a web app as the final project of a subject. It is neither too big or too small, it's supposed to be a ticket sales manager for a local airliner (with quite some restrictions).
Me and my group chose Codeigniter 3.0 as our framework. We read the user manual, completed the tutorial, developed a fully functional database, and coded a basic web interface
But then we stumbled upon the problem of persistency
Some of our friends told us they tried to use Gas ORM with CI 3.0 and had horrible results (which doesn't quite surprise me, I just took a look at it's webpage and seems like it's only compatible with 2.x... and haven't been updated since 2013). They just gave in and downgraded to 2.x so they could use datamapper, which seems to be a highly praised and well documented orm
So long story short, is there any reliable and easy to use ORM for CI 3.x any of you would recommend? Or is downgrading a safer bet?
Thanks in advance!

If Gas ORM is not updated from 3 years ago I don't recommend you that you use it.

You have others like, doctrine, idiorm, meedo...
Greetings.
Reply
#4

(10-26-2015, 07:42 AM)rtorralba Wrote:
(10-26-2015, 01:00 AM)minunisne Wrote: Greetings!
So I'm completely new in PHP, and have been given the development of a web app as the final project of a subject. It is neither too big or too small, it's supposed to be a ticket sales manager for a local airliner (with quite some restrictions).
Me and my group chose Codeigniter 3.0 as our framework. We read the user manual, completed the tutorial, developed a fully functional database, and coded a basic web interface
But then we stumbled upon the problem of persistency
Some of our friends told us they tried to use Gas ORM with CI 3.0 and had horrible results (which doesn't quite surprise me, I just took a look at it's webpage and seems like it's only compatible with 2.x... and haven't been updated since 2013). They just gave in and downgraded to 2.x so they could use datamapper, which seems to be a highly praised and well documented orm
So long story short, is there any reliable and easy to use ORM for CI 3.x any of you would recommend? Or is downgrading a safer bet?
Thanks in advance!

If Gas ORM is not updated from 3 years ago I don't recommend you that you use it.

You have others like, doctrine, idiorm, meedo...


Thanks for the replies guys
We tried to install doctrine, but just ended up slaming our heads against the wall
I can't found nothing but poorly written tutorials
Could anyone please lend me a hand?
Reply
#5

(10-26-2015, 11:29 PM)minunisne Wrote:
(10-26-2015, 07:42 AM)rtorralba Wrote:
(10-26-2015, 01:00 AM)minunisne Wrote: Greetings!
So I'm completely new in PHP, and have been given the development of a web app as the final project of a subject. It is neither too big or too small, it's supposed to be a ticket sales manager for a local airliner (with quite some restrictions).
Me and my group chose Codeigniter 3.0 as our framework. We read the user manual, completed the tutorial, developed a fully functional database, and coded a basic web interface
But then we stumbled upon the problem of persistency
Some of our friends told us they tried to use Gas ORM with CI 3.0 and had horrible results (which doesn't quite surprise me, I just took a look at it's webpage and seems like it's only compatible with 2.x... and haven't been updated since 2013). They just gave in and downgraded to 2.x so they could use datamapper, which seems to be a highly praised and well documented orm
So long story short, is there any reliable and easy to use ORM for CI 3.x any of you would recommend? Or is downgrading a safer bet?
Thanks in advance!

If Gas ORM is not updated from 3 years ago I don't recommend you that you use it.

You have others like, doctrine, idiorm, meedo...


Thanks for the replies guys
We tried to install doctrine, but just ended up slaming our heads against the wall
I can't found nothing but poorly written tutorials
Could anyone please lend me a hand?

What problem do you have with doctrine?
Reply
#6

try Laravel Eloquent ORM http://jamieonsoftware.com/post/90299647...with-added
Reply
#7

How about this? https://github.com/avenirer/CodeIgniter-MY_Model
Reply
#8

(This post was last modified: 10-28-2015, 09:02 AM by ignitedcms.)

ORM like eloquent and doctrine is failed experiment IMO, use active record
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply
#9

Origami is the ORM for CI3
https://github.com/maltyxx/origami
Reply




Theme © iAndrew 2016 - Forum software by © MyBB