Welcome Guest, Not a member yet? Register   Sign In
CRUD Tutorial
#5

[eluser]vecima[/eluser]
That CRUD video cast on net+ seems like a pretty poor tutorial.

the guy hard codes the update ID and the content it would be updated to, rather than just passing one in and explaining how to select one because it would be "too much work" (what, another 2 or 3 lines of code? you already have a form!!) and uses the URI string in the model to select a record... do it that way and you have to remember to never change the uri to get to that point. why not just pass it in as a variable from the controller method? also why just go ahead and turn on global_xss_filtering? I thought that was a performance hit as opposed to doing it with input->post and escaping your data before DB entry...

has he gone mad, or am I missing something?


Messages In This Thread
CRUD Tutorial - by El Forum - 09-16-2009, 01:44 PM
CRUD Tutorial - by El Forum - 09-16-2009, 01:51 PM
CRUD Tutorial - by El Forum - 09-16-2009, 02:17 PM
CRUD Tutorial - by El Forum - 09-16-2009, 04:10 PM
CRUD Tutorial - by El Forum - 09-16-2009, 08:36 PM
CRUD Tutorial - by El Forum - 09-20-2009, 08:45 PM
CRUD Tutorial - by El Forum - 09-20-2009, 09:32 PM
CRUD Tutorial - by El Forum - 09-21-2009, 09:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB