[web] Anyone know a GOOD 3-tier tutorial?
In ASP.NET would be great. Basically my problem is that I keep writing spaghetti code. Requirements keep changing, causing me to add more functionality. And now, it's just ugly. Just really fugly. To change anything is an exercise in mastering seppuku. Using the webcontrols (GridView I'm looking at you) is a blessing and curse. I would like to separate my ASPX, validation/error logic, and data access as much as possible.
So if you know of site that gives good tips on 3-tiering, please share. If you have good tips on 3-tiering, please share.
Sorry, I haven't seen any ASP.NET project nicely 3-tier'd. My work has moved to ASP.NET MVC, which does provide a few mechanisms and conventions that seem to help quite a bit.
Based on a few attempts I've lived through, I think that the traditional "3-tier" approach to development is ineffective and introduces unneeded complexity in modern projects.
The best current solution for the problems you describe in the space of web programming is to use a fantastic MVC framework. My project (see sig) is built with CakePHP. I'm sure you'll find something similar for ASP.NET.
I initially felt the same way about the MVC framework as I did about the 3-tiered approach, but actually building something substantial with it led me to the following realizations:
* MVC adds very little actual coding overhead, unlike 3-tier
* MVC actually imposes good habits on you, such as good code modularization, unlike 3-tier
* MVC doesn't start to hurt more and more as a project gets larger and larger, unlike 3-tier
Just my 2c.
The best current solution for the problems you describe in the space of web programming is to use a fantastic MVC framework. My project (see sig) is built with CakePHP. I'm sure you'll find something similar for ASP.NET.
I initially felt the same way about the MVC framework as I did about the 3-tiered approach, but actually building something substantial with it led me to the following realizations:
* MVC adds very little actual coding overhead, unlike 3-tier
* MVC actually imposes good habits on you, such as good code modularization, unlike 3-tier
* MVC doesn't start to hurt more and more as a project gets larger and larger, unlike 3-tier
Just my 2c.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement