Welcome Guest, Not a member yet? Register   Sign In
CONTROLLERS, single method or different methods for different actions?
#12

i think its good to keep trying different things. one suggestion is to push as much as possible to your models. basically the controller just asks if the form validated or did a result come back from the database search - and then chooses the appropriate view based on what happened. that keeps your controller as 'thin' as possible, and the ever changing granular details like field names are in the models.
Reply


Messages In This Thread
RE: CONTROLLERS, single method or different methods for different actions? - by cartalot - 05-11-2016, 06:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB