The hardest for me is for controllers to only instantiate a single object, just only passing a single instance variable to a view. I often find myself sending 3 or 4 instance variables in as various models compile information for a view. Seems like that's not what Sandi recommends. Instead, it seems as though I should use presenter type objects to compile that information, and pass an instance of that presenter to the view.
Created
March 20, 2016 19:36
-
-
Save jecrockett/1eb387db113f65c6179e to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment