I was discussing with a friend of mine about code design in business web apps, when we got to the topic of logic tier (or business logic), there was this big gap between our preferences on where to implement it:
He liked controllers, and kept his logic there. Thus using the database as storage only.
But me, on the other hand, I've been coding the logic in stored procedures for as long as I can relate, so my controllers have been mostly thin.
My question is, is this a good practice? Are stored procedures an old thingy that just keeps giving us trouble?
I personally think that having logic in code is nice for testing, but when it comes to production data, it might have some performance issues.