Welcome Guest, Not a member yet? Register   Sign In
Is it okay to leave a controller without a view?
#2

[eluser]davidbehler[/eluser]
You call this controller using AJAX? Or what exactly do you do?

If you call it using AJAX, then it's fine if it does only return a blank page, no ones gonna see it anyway.
You don't have to use a view file, but as soon as you want to display content it's appropriate to do so, as a bunch of echo commands are pretty ugly xD


Messages In This Thread
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 12:35 AM
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 12:40 AM
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 02:02 AM
Is it okay to leave a controller without a view? - by El Forum - 09-24-2009, 02:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB