Welcome Guest, Not a member yet? Register   Sign In
Using one controller/method to validate and send different types of data to model
#3

[eluser]skunkbad[/eluser]
[quote author="toopay" date="1303077746"]The first thing in my mind : if i have many task like that, i'll create some helper or (even) library to handle that. Sorting or prepend data is controller job, not model.[/quote]

This is exactly the decision I have to make. How to handle the multiple sets of data, and where to handle them. If I do them all separately, then there will be a lot of repetitive code.


Messages In This Thread
Using one controller/method to validate and send different types of data to model - by El Forum - 04-17-2011, 06:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB