Welcome Guest, Not a member yet? Register   Sign In
Run functions in index method
#9

[eluser]nuwanda[/eluser]
[quote author="techgnome" date="1289593253"]nuwanda - why not? seems reasonable to me.[/quote]

It's not that it won't actually work, I just don't think it works in terms of good design.

I use the index method for setting up page data and loading the initial view. Now that view might contain a form which then has its action set to a method in the controller, not the index method.

That just makes more design sense to me.


Messages In This Thread
Run functions in index method - by El Forum - 11-10-2010, 03:57 AM
Run functions in index method - by El Forum - 11-10-2010, 06:40 AM
Run functions in index method - by El Forum - 11-10-2010, 07:02 AM
Run functions in index method - by El Forum - 11-11-2010, 06:14 AM
Run functions in index method - by El Forum - 11-11-2010, 06:33 AM
Run functions in index method - by El Forum - 11-11-2010, 06:59 AM
Run functions in index method - by El Forum - 11-12-2010, 03:23 AM
Run functions in index method - by El Forum - 11-12-2010, 08:20 AM
Run functions in index method - by El Forum - 11-12-2010, 03:52 PM
Run functions in index method - by El Forum - 11-12-2010, 09:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB