Welcome Guest, Not a member yet? Register   Sign In
Load table library in the controller ?!?
#3

[eluser]rogierb[/eluser]
Quote:I thought that for layers separation sake, I must not declare anything other than models and logic in controller

I hope your library contains logic:-)

It is common practice to load the library in the controller. The view is only meant for formatting output. So loading something is a view is not really the MVC way.


Messages In This Thread
Load table library in the controller ?!? - by El Forum - 11-25-2009, 08:15 AM
Load table library in the controller ?!? - by El Forum - 11-25-2009, 08:45 AM
Load table library in the controller ?!? - by El Forum - 11-25-2009, 08:53 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 04:39 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 04:57 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 05:05 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 09:09 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 09:21 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 01:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB