Saturday, July 02, 2005
Premature Optimization in Web Apps
This is a quote I want to save from an ASP.NET vs. Ruby on Rails comparison:
RoR encourages validation of business rules in the model, where it can be re-used effectively (read: where it belongs), whereas ASP.NET's validation controls seem to encourage developers to validate the rules in the UI. Surely, a case can be made for UI validation to avoid server roundtrips and workload, but I don't buy into it. My servers are running at 5% CPU utilization, and my developers are running at 105% utilization.