Welcome Guest, Not a member yet? Register   Sign In
Best way of retrieving primary key
#13

[eluser]Alexandru M.[/eluser]
Its not really about redundant code especially if you will have say 1k visitors / day , the most important thing is that the code should be readable , because in 2-3 months you'll forget what your logic was when you designed that controller or model .

Just try to keep the queries number low (in the above post you have just one) and it should be ok.


Messages In This Thread
Best way of retrieving primary key - by El Forum - 09-21-2010, 06:05 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 06:19 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 06:29 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 06:30 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 06:32 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 06:46 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 07:05 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 09:33 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 09:49 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 10:24 AM
Best way of retrieving primary key - by El Forum - 09-21-2010, 10:24 PM
Best way of retrieving primary key - by El Forum - 09-22-2010, 07:57 AM
Best way of retrieving primary key - by El Forum - 09-22-2010, 10:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB