Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dna architecture
Message
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00579234
Message ID:
00580404
Vues:
17
>When doing 3-tier code:
>presentation/business/data layers
>
>Should one use the codebehind as a separate tier? Or not use it at all and just have class libraries for the 3 layers?
>
>I mean page controlling code should be separate from the html code, but do we want code in codebehind (one page for each html page) or in a middle-tier?
>
>Thanks for any ideas.


Interesting point since all the code behind is being compiled as a single DLL in the \Bin directory.

This is what I do:
presentation tier: HTML + code behind
business tier: code behind + Business rules in DLL
data tier: SQL Server

As you can see, I think there's a grey area in what code behind must do.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform