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
  #11  
Old   
Paul
 
Posts: n/a

Default Re: Data layer - 01-11-2010 , 10:01 AM






Are grids meant to be editable????

Square hole Round peg......

Like said above 3 tier is a good start.

Use model objects for communication of data this ensures your application is
Business Logic focused.


UI| WEBSITE WPF WIN
Services | M

Quote:
O
BLL| OrdersHandler PaymentsHandler
D

E
DAL| SQL Oracle MySQL Other
services | L


If your BLL is Web Service based then Model is used by BLL and DAL and the
UI uses the WSDL as an interface. WCF allows you to still use the model even
based on WSDL which is strange as somehow it must transpose namespaces. I
have not done much with WCF but it is interesting how it does this and I
wonder whether it could cause more issues than it solves.

"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.

"Miha Markic" <miha at rthand com> wrote in message
news:OdBUTJjjKHA.1420 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
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
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.