Web programming in tiers
-
I am developing a contractors database system and the specs is that I must program in tiers. So how does this thing work because i am still learning Karabo
-
I am developing a contractors database system and the specs is that I must program in tiers. So how does this thing work because i am still learning Karabo
wrote:
I am developing a contractors database system and the specs is that I must program in tiers. So how does this thing work because i am still learning
You separate out the presentation, the business logic and the database access into separate assemblies (actually, you don't have to put them in different assemblies, but it helps you enforce the separation of tiers). The presentation layer can only talk to the business logic and the business logic can only talk to the database. Various design patterns can help you achieve this. So, you might start by looking for books on design patterns. If you've never done any before then Head First Design Patterns is an excellent book - the code samples are in Java, but should be easy enough for anyone to understand.
Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos
-
I am developing a contractors database system and the specs is that I must program in tiers. So how does this thing work because i am still learning Karabo
Check these out for size: ASP.NET Data Access Tutorials (aka a 3-tier pattern)