Hiccdown Development Notes
Showing only ideas leading to #320.
See full discussion·See most recent related ideasLog in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.Discussions can branch out indefinitely. You may need to scroll sideways.
Hiccdown methods should live in their own, separate modules. How about they are called ‘renderers’?
ruby
module ProductsRendererdef self.index vc, # …vc.some_helper_methodendend
A benefit of this approach is that, when people start a new Rails app, they may end up putting whatever they’d otherwise put in a helper in a renderer, since renderers have the benefit of having unambiguously resolvable method names.
Criticized1*Archived
I don’t like the term ‘renderer’ yet. It’s too loaded with meaning, what with Rails already having a render method in controllers and another render method in views…