HighTechTalks DotNet Forums  

Data layer

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss Data layer in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Fanor P.
 
Posts: n/a

Default Data layer - 01-04-2010 , 04:16 PM






Hello all,

I'm developing a program but still having some issues to write a good
layered program wich includes presentation, business, and data layers. Can
some one suggest any good book, white paper, or article about it with case
study and clear examples writen in c#.

TIA

Reply With Quote
  #2  
Old   
PvdG42
 
Posts: n/a

Default Re: Data layer - 01-04-2010 , 06:41 PM






"Fanor P." <ronaf09 (AT) hotmail (DOT) com> wrote

Quote:
Hello all,

I'm developing a program but still having some issues to write a good
layered program wich includes presentation, business, and data layers.
Can some one suggest any good book, white paper, or article about it
with case study and clear examples writen in c#.

TIA

Here:

http://www.codeproject.com/KB/architecture/three_tier_architecture.aspx

http://www.dotnetfunda.com/articles/article18.aspx

http://www.codeproject.com/KB/aspnet/ThreeTierCodeGenerator.aspx

Reply With Quote
  #3  
Old   
Miha Markic
 
Posts: n/a

Default Re: Data layer - 01-05-2010 , 07:20 AM



Is this a winforms or asp.net or something else?

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: blog.rthand.com

"Fanor P." <ronaf09 (AT) hotmail (DOT) com> wrote

Quote:
Hello all,

I'm developing a program but still having some issues to write a good
layered program wich includes presentation, business, and data layers.
Can some one suggest any good book, white paper, or article about it
with case study and clear examples writen in c#.

TIA

Reply With Quote
  #4  
Old   
Mark Rae [MVP]
 
Posts: n/a

Default Re: Data layer - 01-05-2010 , 07:50 AM



"Miha Markic" <miha at rthand com> wrote


[please don't top-post]

Quote:
I'm developing a program but still having some issues to write a good
layered program wich includes presentation, business, and data layers.
Can some one suggest any good book, white paper, or article about it
with case study and clear examples writen in c#.

Is this a WinForms or ASP.NET or something else?
What does that matter? A proper DAL should be able to be dropped unmodified
into any .NET project - that's the whole point...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Reply With Quote
  #5  
Old   
Miha Markic
 
Posts: n/a

Default Re: Data layer - 01-05-2010 , 12:08 PM



It looks that OP is looking for advice on all layers, not just DAL. That was
my impression...

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: blog.rthand.com


"Mark Rae [MVP]" <mark (AT) markNOSPAMrae (DOT) net> wrote

Quote:
"Miha Markic" <miha at rthand com> wrote in message
news:uKYiIogjKHA.5604 (AT) TK2MSFTNGP04 (DOT) phx.gbl...

[please don't top-post]

I'm developing a program but still having some issues to write a good
layered program wich includes presentation, business, and data layers.
Can some one suggest any good book, white paper, or article about it
with case study and clear examples writen in c#.

Is this a WinForms or ASP.NET or something else?

What does that matter? A proper DAL should be able to be dropped
unmodified into any .NET project - that's the whole point...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Reply With Quote
  #6  
Old   
Mark Rae [MVP]
 
Posts: n/a

Default Re: Data layer - 01-05-2010 , 12:53 PM



"Gregory A. Beamer" <NoSpamMgbworld (AT) comcast (DOT) netNoSpamM> wrote


Quote:
What does that matter? A proper DAL should be able to be dropped
unmodified into any .NET project - that's the whole point...

I take it a step farther and state the app is the business logic, the data
is a persitant mechanism and the UI is a faceplate for interaction. :-)
Couldn't have put it better myself!


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Reply With Quote
  #7  
Old   
Fanor P.
 
Posts: n/a

Default Re: Data layer - 01-05-2010 , 04:28 PM



Actually you are right Miha. I read some articles about them and theory is
pretty clear, however implementation isn't that clear, for instance when I
use controls like textbox to bind to fields there is no problem, but if I
use a grid which can be editable the conection with the busines and data
layers are kind of confusing. I'm sure that everyone deals with it in their
own way, as I do myself, that is why I want to read other approaches to
find better ways.

"Miha Markic" <miha at rthand com> wrote

Quote:
It looks that OP is looking for advice on all layers, not just DAL. That
was my impression...

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: blog.rthand.com


"Mark Rae [MVP]" <mark (AT) markNOSPAMrae (DOT) net> wrote in message
news:uYrqR4gjKHA.1536 (AT) TK2MSFTNGP06 (DOT) phx.gbl...
"Miha Markic" <miha at rthand com> wrote in message
news:uKYiIogjKHA.5604 (AT) TK2MSFTNGP04 (DOT) phx.gbl...

[please don't top-post]

I'm developing a program but still having some issues to write a good
layered program wich includes presentation, business, and data layers.
Can some one suggest any good book, white paper, or article about it
with case study and clear examples writen in c#.

Is this a WinForms or ASP.NET or something else?

What does that matter? A proper DAL should be able to be dropped
unmodified into any .NET project - that's the whole point...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Reply With Quote
  #8  
Old   
Mark Rae [MVP]
 
Posts: n/a

Default Re: Data layer - 01-05-2010 , 06:16 PM



"Gregory A. Beamer" <NoSpamMgbworld (AT) comcast (DOT) netNoSpamM> wrote


Quote:
Thanks. I am working on a book idea that shows how to develop in this
paradigm. Do you think it might sell?
Hmm - maybe...

Need a proof reader / technical editor...? ;-)


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Reply With Quote
  #9  
Old   
Miha Markic
 
Posts: n/a

Default Re: Data layer - 01-06-2010 , 02:40 AM



So, what kind of application we are talking about?

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: blog.rthand.com

"Fanor P." <ronaf09 (AT) hotmail (DOT) com> wrote

Quote:
Actually you are right Miha. I read some articles about them and theory is
pretty clear, however implementation isn't that clear, for instance when I
use controls like textbox to bind to fields there is no problem, but if I
use a grid which can be editable the conection with the busines and data
layers are kind of confusing. I'm sure that everyone deals with it in
their own way, as I do myself, that is why I want to read other
approaches to find better ways.

Reply With Quote
  #10  
Old   
Fanor P.
 
Posts: n/a

Default Re: Data layer - 01-06-2010 , 10:16 AM



Winforms

"Miha Markic" <miha at rthand com> wrote

Quote:
So, what kind of application we are talking about?

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: blog.rthand.com

"Fanor P." <ronaf09 (AT) hotmail (DOT) com> wrote in message
news:O553PZljKHA.4500 (AT) TK2MSFTNGP06 (DOT) phx.gbl...
Actually you are right Miha. I read some articles about them and theory
is pretty clear, however implementation isn't that clear, for instance
when I use controls like textbox to bind to fields there is no problem,
but if I use a grid which can be editable the conection with the busines
and data layers are kind of confusing. I'm sure that everyone deals with
it in their own way, as I do myself, that is why I want to read other
approaches to find better ways.

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.