On 12/8/06, Courtenay <[EMAIL PROTECTED]> wrote: > FWIW, I didn't say to put extra methods in the model. Hell no. > > I was suggesting a layer between the model (or models) and the view > which packages up certain methods, much like Liquid's Drops.
Thats essentially what the presenter pattern is, I believe. So I think you guys are talking about the same thing, its just a matter of implementation. I just ask to make it very easily testable w/i the core framework -- helper_test_case is still somewhat of a hack. I think each layer should be testable out of the box, and right now helpers are lacking in that respect. related: http://jayfields.blogspot.com/2006/09/rails-model-view-controller-presenter.html http://www.martinfowler.com/eaaDev/PresentationModel.html - rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
