Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > Visual Studio 2008
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 3rd, 2011, 02:50 AM
Registered User
Points: 43, Level: 1
Points: 43, Level: 1 Points: 43, Level: 1 Points: 43, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Layered architecture

Hello everyone. I'm learning asp.net right now, my professor asked me to do any application using layered architecure. She said application should have 3 layers 1.UI
2.Business Logic Layer and
3.Data Access Layer.... but honestly I dont have any idea about this .. kindly help me out please...
Reply With Quote
  #2 (permalink)  
Old February 3rd, 2011, 09:40 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

well, usually in advance software design we use laying to apart software tasks where application works independently in layers. It's contains of min 2-N layers (Microsoft has 4)
but usually 3 as u mentioned.
1. UI = User Interface
2. BL = Business Layer or Logic
3. DA = Data Access

let me explain u in an instance:
u have a ASP.NET page where users register.
u have some rules like checking if user is able to register according to her/his birthday & ...
1.ur ASPX file is ur UI where ppl see.
2. u use some classes & functions to check the rules (age story) its a separate project or at least another file
3. u have a different project who is the only responsible for ur Data part.

its like this:
1- user see the page & enter some data & PUSH REGISTER BUTTON
2- ur page sends user entered data to BL & it checks some rule like age, & if it was ok, calls the DL methods to add data to DB, or if its not ok, doesnt send & may gives a report back to user in UI ...
3- ur DA is only doing CRUD operations such as making connection & executing some T-SQL commands.

Its a long story u should go for, not too simple to reply u here, but not as hard as u cant...
HTH
__________________
Always,
Hovik Melkomian.
Reply With Quote
  #3 (permalink)  
Old February 4th, 2011, 02:11 AM
Registered User
Points: 43, Level: 1
Points: 43, Level: 1 Points: 43, Level: 1 Points: 43, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default thank you

well thank you very much for your response, but actually I'm a beginner to ASP.net so whatever you've explained I didn't get any of it...... will you please elaborate....
Reply With Quote
  #4 (permalink)  
Old February 4th, 2011, 02:55 AM
Imar's Avatar
Wrox Author
Points: 72,038, Level: 100
Points: 72,038, Level: 100 Points: 72,038, Level: 100 Points: 72,038, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,080
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

You may want to take a look at this: http://imar.spaanjaars.com/476/n-lay...l-introduction

It's quite a long read and requires some background in ASP.NET and C#, but it may help you grasp the concepts of N-Layer design.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Developing Layered Applications ksouthworth BOOK: Professional ASP.NET Design Patterns 5 January 6th, 2011 05:24 PM
Layered/Tiered-Architecture complexity (AGAIN)... edurazee Visual Studio 2005 3 May 13th, 2009 02:51 PM
Layered/Tiered Architecture complexity... edurazee Visual Studio 2005 6 May 3rd, 2009 11:04 AM
Multi Layered Design jumbojs BOOK: Beginning C# 2005 Databases 1 October 19th, 2008 11:29 AM
Layered Applications Muhammad Zeeshan General .NET 5 July 25th, 2007 04:08 AM



All times are GMT -4. The time now is 06:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.