Welcome Guest, Not a member yet? Register   Sign In
What should not be used in a view ?
#2

[eluser]toopay[/eluser]
Related with MVC approach, the view should be the final output. Thats means, avoid any databasing or core process, is a good practice (or even neccesary). This have one purpose, to make your app manageable by clear separated logic : Model for database modelling, COntroller for I/O processing and View generally just for templating stuff.

Thats the guideline, for me. So, as long as you didnt feel that your app is out of your control, or hard to manage, then you're fine.


Messages In This Thread
What should not be used in a view ? - by El Forum - 05-07-2011, 07:49 AM
What should not be used in a view ? - by El Forum - 05-09-2011, 12:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB