Click here to Skip to main content
15,915,019 members
Home / Discussions / C#
   

C#

 
GeneralRe: Business Objects Pin
Jon Rista16-Jan-09 15:40
Jon Rista16-Jan-09 15:40 
GeneralRe: Business Objects Pin
CodingYoshi16-Jan-09 17:20
CodingYoshi16-Jan-09 17:20 
GeneralRe: Business Objects Pin
Jon Rista16-Jan-09 17:32
Jon Rista16-Jan-09 17:32 
GeneralRe: Business Objects Pin
CodingYoshi16-Jan-09 20:23
CodingYoshi16-Jan-09 20:23 
GeneralRe: Business Objects Pin
Jon Rista16-Jan-09 20:31
Jon Rista16-Jan-09 20:31 
GeneralDomain Driven Design Quickly - free ebook Pin
DaveyM6917-Jan-09 2:22
professionalDaveyM6917-Jan-09 2:22 
GeneralRe: Domain Driven Design Quickly - free ebook Pin
CodingYoshi17-Jan-09 13:17
CodingYoshi17-Jan-09 13:17 
AnswerRe: Business Objects Pin
Mark Graham26-Feb-09 23:43
Mark Graham26-Feb-09 23:43 
Hi there, I may as well chuck something in here, as I love design...

It's difficult to decide what to go with sometimes. I mean, there are so many methodologies and one developer will claim this way is better, another will claim that way, etc. etc.

It sounds to me like you have a relatively uncomplicated problem with not a huge amount of workflow and service requirements (please correct me if I'm wrong). It sounds like you might be implementing a reasonably straight-foreword windows app or web site. WINDOWS or WEB - two completely different technologies here!! Stateful and stateless. Nobody can truely answer you query without understanding more about your problem. However, I've implemented Active Record when business logic isn't too complex (you won't require the dreaded ORM's you speak of) and it has been very successful for me. I have also mixed some Active Record patterns with unrelational Domain Patterns as business complexity has increased - this has also worked.

I read the other answers
Don't confuse DTO's with Business Objects. DTO's just hold data(fields) and don't implement behavior, but Business objects do implement behavior and usually have a method to persist itself, by implementing a Save method, and calling through to a data layer/tier.

Developers like to give advise but do your own research and when you've decided your route - implement it properly, that's my advise. I'm going on a bit aren't I Smile | :) I've recently created a couple of blogs and I've already written an article about the Active Record Pattern[^] (I've turned it in to a Domain Record Pattern) and I'm going to be writing a lot more about design. It's interesting to see what kind of questions people are asking. I hope you get chance to look at my blog - and please comment!!!

Here's a recommended read for you. Microsoft .NET: Architecting Applications for the Enterprise[^] and it's not too heavy either.

The article I've posted on dotnet-notepad are just notes (the blog is literally a notepad of ideas). My in-depth articles are going on csCoffee[^]

Pen and Paper before Visual Studio. Hope I've been helpful.

Mark Graham (MCP) // The Doodler
blogging about C#, Asp.Net, and Design Patterns at: csCoffee[^]
and contributing at dotNet Notepad[^]

Questiondisplay data from a database in a label Pin
ferronrsmith16-Jan-09 10:21
ferronrsmith16-Jan-09 10:21 
AnswerRe: display data from a database in a label Pin
Alaric_16-Jan-09 10:25
professionalAlaric_16-Jan-09 10:25 
GeneralRe: display data from a database in a label Pin
ferronrsmith16-Jan-09 11:24
ferronrsmith16-Jan-09 11:24 
GeneralRe: display data from a database in a label Pin
ferronrsmith16-Jan-09 11:25
ferronrsmith16-Jan-09 11:25 
GeneralRe: display data from a database in a label Pin
CodingYoshi16-Jan-09 12:50
CodingYoshi16-Jan-09 12:50 
QuestionString representation of an object's property name Pin
Alaric_16-Jan-09 10:11
professionalAlaric_16-Jan-09 10:11 
AnswerRe: String representation of an object's property name Pin
TommyTomToms16-Jan-09 10:44
TommyTomToms16-Jan-09 10:44 
GeneralRe: String representation of an object's property name Pin
Alaric_16-Jan-09 10:55
professionalAlaric_16-Jan-09 10:55 
GeneralRe: String representation of an object's property name Pin
Jon Rista16-Jan-09 11:47
Jon Rista16-Jan-09 11:47 
GeneralRe: String representation of an object's property name Pin
Alaric_16-Jan-09 13:43
professionalAlaric_16-Jan-09 13:43 
QuestionHi peoples, Pin
Hema Bairavan16-Jan-09 7:07
Hema Bairavan16-Jan-09 7:07 
AnswerRe: Hi peoples, Pin
Thomas Stockwell16-Jan-09 7:47
professionalThomas Stockwell16-Jan-09 7:47 
QuestionNewbie question about TreeNodeCollection vs TreeNode Pin
Rafone16-Jan-09 5:11
Rafone16-Jan-09 5:11 
AnswerRe: Newbie question about TreeNodeCollection vs TreeNode Pin
Wendelius16-Jan-09 7:54
mentorWendelius16-Jan-09 7:54 
GeneralRe: Newbie question about TreeNodeCollection vs TreeNode Pin
Rafone16-Jan-09 9:17
Rafone16-Jan-09 9:17 
GeneralRe: Newbie question about TreeNodeCollection vs TreeNode Pin
Wendelius16-Jan-09 9:26
mentorWendelius16-Jan-09 9:26 
GeneralRe: Newbie question about TreeNodeCollection vs TreeNode Pin
Rafone16-Jan-09 10:00
Rafone16-Jan-09 10:00 

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.