Click here to Skip to main content
15,922,166 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Inherit without exposing? Pin
Stephen Hewitt6-May-07 16:00
Stephen Hewitt6-May-07 16:00 
GeneralRe: Inherit without exposing? Pin
led mike6-May-07 16:30
led mike6-May-07 16:30 
GeneralRe: Inherit without exposing? Pin
Stephen Hewitt6-May-07 16:40
Stephen Hewitt6-May-07 16:40 
GeneralRe: Inherit without exposing? Pin
led mike6-May-07 17:01
led mike6-May-07 17:01 
Questiondecoupling business and database? Pin
giddy_guitarist28-Apr-07 12:11
giddy_guitarist28-Apr-07 12:11 
AnswerRe: decoupling business and database? Pin
Eugene Ciloci28-Apr-07 16:36
Eugene Ciloci28-Apr-07 16:36 
GeneralRe: decoupling business and database? Pin
giddy_guitarist29-Apr-07 13:01
giddy_guitarist29-Apr-07 13:01 
AnswerRe: decoupling business and database? Pin
Chris-Kaiser3-May-07 13:39
Chris-Kaiser3-May-07 13:39 
Well, your case might not warrant a seperate layer.

For one though, if you want your app to scale well, then holding all of the data in memory might not be reasonable.

Say this is a website you're starting for a new business. The worst thing that can happen is that it succeeds, and you have 20,000 records to hold in memory.

The main purpose of seperating out the data layer is if you're building an app that needs to target multiple data sources. If you will only ever need just the one source, then you might not need to worry about it.

I would recommend though, that you put the data access code in a seperate file. So that your business objects can stay slim for serialization purposes.

Sounds like your situation doesn't warrant worrying too much about it. But as it grows and if you plan to target more than one database (say its a reservation system you'll sell to mutliple clients) then you might benefit from it.

This statement was never false.

QuestionStructured error handling practises in asp.net Pin
shaunll27-Apr-07 4:36
shaunll27-Apr-07 4:36 
AnswerRe: Structured error handling practises in asp.net Pin
Eugene Ciloci28-Apr-07 17:03
Eugene Ciloci28-Apr-07 17:03 
GeneralRe: Structured error handling practises in asp.net Pin
shaunll30-Apr-07 22:30
shaunll30-Apr-07 22:30 
Questioninterface desginer software Pin
Giorgi Dalakishvili26-Apr-07 21:43
mentorGiorgi Dalakishvili26-Apr-07 21:43 
AnswerRe: interface desginer software Pin
Colin Angus Mackay26-Apr-07 22:30
Colin Angus Mackay26-Apr-07 22:30 
GeneralRe: interface desginer software Pin
Giorgi Dalakishvili26-Apr-07 22:34
mentorGiorgi Dalakishvili26-Apr-07 22:34 
GeneralRe: interface desginer software Pin
Pete O'Hanlon26-Apr-07 22:42
mvePete O'Hanlon26-Apr-07 22:42 
GeneralRe: interface desginer software Pin
Giorgi Dalakishvili26-Apr-07 22:50
mentorGiorgi Dalakishvili26-Apr-07 22:50 
GeneralRe: interface desginer software Pin
Pete O'Hanlon26-Apr-07 22:58
mvePete O'Hanlon26-Apr-07 22:58 
GeneralRe: interface desginer software Pin
Giorgi Dalakishvili26-Apr-07 23:02
mentorGiorgi Dalakishvili26-Apr-07 23:02 
GeneralRe: interface desginer software Pin
Pete O'Hanlon26-Apr-07 23:04
mvePete O'Hanlon26-Apr-07 23:04 
GeneralRe: interface desginer software Pin
Dan Neely27-Apr-07 2:12
Dan Neely27-Apr-07 2:12 
GeneralRe: interface desginer software Pin
Pete O'Hanlon30-Apr-07 9:03
mvePete O'Hanlon30-Apr-07 9:03 
GeneralRe: interface desginer software Pin
Colin Angus Mackay26-Apr-07 23:18
Colin Angus Mackay26-Apr-07 23:18 
GeneralRe: interface desginer software Pin
Giorgi Dalakishvili27-Apr-07 3:39
mentorGiorgi Dalakishvili27-Apr-07 3:39 
GeneralClickity Police Pin
Colin Angus Mackay27-Apr-07 4:51
Colin Angus Mackay27-Apr-07 4:51 
GeneralRe: interface desginer software Pin
Pete O'Hanlon29-Apr-07 22:39
mvePete O'Hanlon29-Apr-07 22:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.