Welcome Guest, Not a member yet? Register   Sign In
instead of write a query for mysql and call the db->query on it, we should use db methods like get where etc. to make it
#6

[eluser]Jondolar[/eluser]
Using AR is like using PHP instead of C or Assembly. It is easier to use but may not be able to accomplish everything or may slow down certain critical areas of your code. I recommend start with everything using AR and then drop down to writing full queries when needed (including using the great function rand()) or when you need to optimize for speed (doubtful as AR is very efficient I have heard).


Messages In This Thread
instead of write a query for mysql and call the db->query on it, we should use db methods like get where etc. to make it - by El Forum - 06-26-2009, 03:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB