Welcome Guest, Not a member yet? Register   Sign In
Active record vs SQL
#6

[eluser]Eric Cope[/eluser]
I use the Active Record method because it auto-escapes my input data, it is easier for me to read, and it remembers how to word the SQL statement (I forget because I actively use too many languages). As mentioned above, it is also database-independent.

I am not an expert at SQL, so its easier for me to use AR. If you are an expert at SQL, then I would recommend using SQL directly. Thats the beauty of CodeIgniter, it does not force you to use one method or another, it gives you options and choices.


Messages In This Thread
Active record vs SQL - by El Forum - 06-23-2008, 04:00 AM
Active record vs SQL - by El Forum - 06-23-2008, 04:23 AM
Active record vs SQL - by El Forum - 06-23-2008, 10:46 AM
Active record vs SQL - by El Forum - 06-23-2008, 06:36 PM
Active record vs SQL - by El Forum - 06-23-2008, 08:05 PM
Active record vs SQL - by El Forum - 06-23-2008, 11:31 PM
Active record vs SQL - by El Forum - 06-24-2008, 03:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB