Welcome Guest, Not a member yet? Register   Sign In
Using CI with traditional PHP Objects
#7

[eluser]dcunited08[/eluser]
[quote author="prezet" date="1225415031"]OK, thanks, I'll look into that...

as for your mention of :
Quote:The ‘CI way’ would be to use the builtin database drivers and load the objects from that.

Could you expand on what you meant by that?

Thanks[/quote]

By that I simply meant that you would do the
Code:
$this->db->query($SQL);
and then work through it as you showed in your code. You may also take a look at DataMapper or IgnitedRecord. I just started looking into these two after answering your request. The reason to look at these is they use the same database drivers so you are not needing a totally different db library, just an extension of it.


Messages In This Thread
Using CI with traditional PHP Objects - by El Forum - 10-29-2008, 01:19 PM
Using CI with traditional PHP Objects - by El Forum - 10-29-2008, 02:16 PM
Using CI with traditional PHP Objects - by El Forum - 10-30-2008, 12:10 PM
Using CI with traditional PHP Objects - by El Forum - 10-30-2008, 12:44 PM
Using CI with traditional PHP Objects - by El Forum - 10-30-2008, 01:18 PM
Using CI with traditional PHP Objects - by El Forum - 10-30-2008, 02:03 PM
Using CI with traditional PHP Objects - by El Forum - 10-30-2008, 02:14 PM
Using CI with traditional PHP Objects - by El Forum - 10-30-2008, 02:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB