PC Review


Reply
 
 
Fanor P.
Guest
Posts: n/a
 
      4th Jan 2010

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
 
 
 
 
PvdG42
Guest
Posts: n/a
 
      5th Jan 2010

"Fanor P." <(E-Mail Removed)> wrote in message
news:A949E7AA-0C0C-4935-8F7F-(E-Mail Removed)...
>
> 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/archit...hitecture.aspx

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

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


 
Reply With Quote
 
Miha Markic
Guest
Posts: n/a
 
      5th Jan 2010
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." <(E-Mail Removed)> wrote in message
news:A949E7AA-0C0C-4935-8F7F-(E-Mail Removed)...
>
> 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
 
Gregory A. Beamer
Guest
Posts: n/a
 
      5th Jan 2010
"Fanor P." <(E-Mail Removed)> wrote in
news:A949E7AA-0C0C-4935-8F7F-(E-Mail Removed):

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


I am in the process of writing such a book, but can't help now. Perhaps
I will blog something so you have an idea.

IMO, you need to think of UI as a faceplate, database as a storage
mechanism and app as the business logic that uses the data and has a UI
on top of it.

This is different from what you are asking, but it then leads you to
easy solutions (when you make the paradigm change). By focusing on the
business problem, you end up only building logic that solves the
problem.

I don't personally think you can get there without testing early (either
Test Driven Development (TDD) or Test Early Development (I will dub this
TED)), as you are a bit blind without the other "layers". But focusing
on logic also forces you to think about the communication between the UI
and the app and the data store and the app.

I will see if I have time at lunch to blog it.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
Gregory A. Beamer
Guest
Posts: n/a
 
      5th Jan 2010
"Mark Rae [MVP]" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> 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. :-)

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
JohnnyD
Guest
Posts: n/a
 
      5th Jan 2010
I have one sitting right here on my desk with the catchy title of

"Building Client/Server Applications with VB.NET: An example-driven
approach" by Jeff Levinson.

It's absolutely great. It explains everything you'd ever need to write every
single layer of an n-tier application and although it is writen with VB.NET,
it still explains how to make your app easily accessable by other languages
like java.

Thoroughly recommend it.

John.

"Fanor P." <(E-Mail Removed)> wrote in message
news:A949E7AA-0C0C-4935-8F7F-(E-Mail Removed)...
>
> 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
 
Miha Markic
Guest
Posts: n/a
 
      5th Jan 2010
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Miha Markic" <miha at rthand com> wrote in message
> news:(E-Mail Removed)...
>
> [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
 
Gregory A. Beamer
Guest
Posts: n/a
 
      5th Jan 2010
"Mark Rae [MVP]" <(E-Mail Removed)> wrote in
news:#(E-Mail Removed):

>> 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!
>


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

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
Fanor P.
Guest
Posts: n/a
 
      5th Jan 2010
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:(E-Mail Removed)...
> 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]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> "Miha Markic" <miha at rthand com> wrote in message
>> news:(E-Mail Removed)...
>>
>> [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
 
Miha Markic
Guest
Posts: n/a
 
      6th Jan 2010
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." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What do Data Access Layer and Data Object Layer mean and related? =?Utf-8?B?UGV0ZXI=?= Microsoft Dot NET 3 27th Jun 2007 08:44 AM
business layer, data access layer , presentation layer for asp.net using C#.net Dhananjay Microsoft VB .NET 6 20th Dec 2006 02:16 AM
business layer, data access layer , presentation layer for asp.net using C#.net Dhananjay Microsoft C# .NET 2 19th Dec 2006 09:23 AM
business layer, data access layer , presentation layer for asp.net using C#.net Dhananjay Microsoft ASP .NET 1 18th Dec 2006 11:35 PM
How to distingusih Business Layer and Data Access Layer requirements pratham Microsoft C# .NET 4 31st Aug 2006 07:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:34 AM.