Welcome Guest, Not a member yet? Register   Sign In
MVC Best Practices
#6

[eluser]darkhouse[/eluser]
I had thought about this also, and I will probably do this from now on. The issue in this case was the site was almost completely done, and it's not a small site, so I needed a way to retrofit.

What gon suggested is what I did in this case, just autoload the alerts library, and then have a function to output the link text which is called from the view. Works perfect.

But, since my question was about best practices, I think extending the controller to be able to do these sort of things, and then extending from that for all the different pages makes the most sense.

Thanks for the help guys.


Messages In This Thread
MVC Best Practices - by El Forum - 08-19-2008, 01:40 PM
MVC Best Practices - by El Forum - 08-19-2008, 01:45 PM
MVC Best Practices - by El Forum - 08-19-2008, 01:50 PM
MVC Best Practices - by El Forum - 08-19-2008, 01:51 PM
MVC Best Practices - by El Forum - 08-19-2008, 03:50 PM
MVC Best Practices - by El Forum - 08-20-2008, 06:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB