• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best Practice...where to generate a table

#2
[eluser]Colin Williams[/eluser]
Your model is generating HTML, which is never a good thing in my book. I would relegate this to a helper with a function name like customer_table_form() if it must be abstracted.


Messages In This Thread
Best Practice...where to generate a table - by El Forum - 10-13-2008, 04:47 PM
Best Practice...where to generate a table - by El Forum - 10-13-2008, 06:28 PM
Best Practice...where to generate a table - by El Forum - 10-13-2008, 06:46 PM
Best Practice...where to generate a table - by El Forum - 10-13-2008, 07:29 PM
Best Practice...where to generate a table - by El Forum - 10-13-2008, 07:33 PM
Best Practice...where to generate a table - by El Forum - 10-13-2008, 07:41 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.