Welcome Guest, Not a member yet? Register   Sign In
ORM-like model implementation in CI
#4

[eluser]bAum[/eluser]
I thought of that solution as well, but as data from a database tends to be dynamical, I would have to append the primary key of the row I'm loading into a model to the name of that model which is not very practical.

I finally implemented this stuff with my own classes (which are no CI-models). This allows for the greatest flexibility and was the easiest solution to my problem. The drawback is that I have to code the ORM stuff on my own, but it's still reasonable.

Still many thanks to both of you for your replies.


Messages In This Thread
ORM-like model implementation in CI - by El Forum - 08-09-2007, 02:24 AM
ORM-like model implementation in CI - by El Forum - 08-09-2007, 09:15 AM
ORM-like model implementation in CI - by El Forum - 08-10-2007, 06:15 AM
ORM-like model implementation in CI - by El Forum - 08-11-2007, 02:56 AM
ORM-like model implementation in CI - by El Forum - 08-11-2007, 09:10 AM
ORM-like model implementation in CI - by El Forum - 08-11-2007, 06:50 PM
ORM-like model implementation in CI - by El Forum - 08-16-2007, 11:52 AM
ORM-like model implementation in CI - by El Forum - 08-16-2007, 02:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB