sergiopereira:You can put business logic in your SQL
statements or stored procedures, but do you? Does that make stored
procedures evil?
Yes, sprocs are evil, that is why on the 8th day we got ORM's. I can't tell you the last time I walked into a client
didn't find the majority of the application written in sprocs, business logic and all. Webforms promotes that sort of Data Driven architecture. Create the database, generate some sprocs, wire up some grid views, and wolla, you have a working application.
Poll: Do you start designing your application from database, the domain/model, or the view?
sergiopereira:Avoiding the code behind at all costs will lead to ridiculously spaghettastic ASPX files.
I understand given the architecture of the framework and that asp.net and c# are not the greatest template engines and you might need some code behind. But I also consider this to be an edge case, In my apps I am only going to use code behind on base pages. If I have to use code behind on regular views I am probably doing something wrong. Just my opinion.
I think promoting code behind is just bad practice, especially for those coming from webforms new to mvc. How do you test your code back their?
The biggest thing I realize after writing some ugly views is... I miss Brail 