News for hackers. Stuff that matters.
Re:Things I Wish I Had Known About Django Development Before... by mercurial on Thursday April 18, 2013 @04:20AM (#5569459)
That's very debatable, and pretty rails-specific, IMHO. Conventional wisdom in other ecosystems is instead to have a business logic layer between your controller and your persistence layer. I've always found this to be good advice, as it makes the code more testable and makes reasoning about manipulating different models in the same operation easier.
Re:Things I Wish I Had Known About Django Development Before... by josephlord on Thursday April 18, 2013 @05:03AM (#5569563)
The Rails models ARE the "business logic layer" between the controller and the persistence layer (the database itself).

I don't want to get into exactly what MVC should mean and whether any particular framework does it right though.

Re:Things I Wish I Had Known About Django Development Before... by mercurial on Thursday April 18, 2013 @08:34AM (#5570222)
That's how they're traditionally used, but this does not mean doing something cleaner is impossible.