Search the web
Sign In
New User? Sign Up
domaindrivendesign · Domain-Driven Design
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 3630 - 3659 of 7770   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3630
Hi! Steve's exposition is applaudable, but I think he makes a fundamental mistake in his demonstration. He starts from nouns and verbs, and the role each play...
aabelro
Offline Send Email
Apr 3, 2006
6:54 pm
3631
Several of our projects will be .Net clients(windows & web applications) vs. J2EE back end via web services. We certainly will have a complete layered...
m_alanliu
Offline Send Email
Apr 5, 2006
9:07 am
3632
AppleScript is an object-oriented language where the "nouns" (objects/classes) and "verbs" (commands) are implemented (and documented) separately... with a...
Keith Ray
attkeithray
Offline Send Email
Apr 5, 2006
2:43 pm
3633
I am developing a similar architecture with a .NET front end and a Java backend. I have gone down the path of using data transfer objects fairly successfully...
Tony Pitluga
drfatbooty
Offline Send Email
Apr 5, 2006
5:03 pm
3634
An alternative approach would be placing your domain objects on the client only (as the application needs to work in disconnected mode). In this case you can...
Vladimir Gitlevich
ventane
Offline Send Email
Apr 5, 2006
5:56 pm
3635
I prefer to think in terms of stories, which are sentences in a language. And in a sentence, you have a subject that does something (verb) with an object. I...
Vladimir Gitlevich
ventane
Offline Send Email
Apr 5, 2006
11:24 pm
3636
Oh, and one more thing. In another example of how verbs are inferior to nouns in the kingdom of Sun God, Steve shows this: ToothBrusher(myTeeth).go(). Yes,...
Vladimir Gitlevich
ventane
Offline Send Email
Apr 6, 2006
1:00 am
3637
... Yes. I'm also interested in how J# fits in the big picture. How do you manage the DTOs? In our previous project, the number of DTOs just exploded and...
m_alanliu
Offline Send Email
Apr 6, 2006
2:12 am
3638
... <vlad@...> wrote: Hm... We will have both rich and thin clients. The approach you suggested works for rich clients. For the thin clients, domain objects ...
m_alanliu
Offline Send Email
Apr 6, 2006
2:21 am
3639
We can choose any language we see fit for our purpose, and perhaps OOP is today what Newton physics was once. Perhaps a new revolutionary way of programming...
aabelro
Offline Send Email
Apr 6, 2006
6:36 am
3640
... I think duplicating domain logic and, as a consequence, domain state, is not a good solution. I agree with Tony's solution, but I don't know how it could...
Sergio Bossa
sergio_bossa
Online Now Send Email
Apr 6, 2006
8:14 am
3641
There's probably no solution that's going to work well for thin, thick, fat client, and disconnected mode. They all have different characteristics that require...
Jim Amsden
jim_amsden
Offline Send Email
Apr 6, 2006
11:54 am
3642
J# is just a means to compile Java code into a dll that will run on the CLR. It prevents us from having to manually recode everything in C#. The only problem...
Tony Pitluga
drfatbooty
Offline Send Email
Apr 6, 2006
2:24 pm
3643
Hi, I have seen a lot of online about business rules implementation, although they all seems to be right, they contradict each other and i ended fustrated...
batistager
Offline Send Email
Apr 6, 2006
4:41 pm
3644
Try this (inspired by Streamlined Object Modeling, a must-read, IMHO). Note discussion following regarding whether Employee should extend Person. public class...
Matthew T. Adams
matthewadams
Offline Send Email
Apr 6, 2006
5:19 pm
3645
Streamlined Object Modeling, great book, but your test and do methods need to be public or internal, not protected, as their purpose is to allow bypassing...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 6, 2006
5:29 pm
3646
According to the C# docs: "By combining the protected and internal keywords, a class member can be marked protected internal — only derived types or types...
Matthew T. Adams
matthewadams
Offline Send Email
Apr 6, 2006
5:45 pm
3647
If you recall from the book, everything was public, and needs to be, they did access control with interfaces, and for good reason. There are many many times...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 6, 2006
6:06 pm
3648
I might also point out that I'm a huge Smalltalk fan, and love that the examples in the book are in Squeak as well as Java, which clearly shows just how...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 6, 2006
6:11 pm
3649
I agree with validating area id while setting it on Employee in some way (like what Matthew suggested). By the way in your code snippet you already...
Vladimir Gitlevich
ventane
Offline Send Email
Apr 6, 2006
11:44 pm
3650
I missed the fact that you needed both flavors of clients, sorry. In such case creating proxies for the relevant domain objects/application services as Tony...
Vladimir Gitlevich
ventane
Offline Send Email
Apr 7, 2006
1:32 am
3651
... I didn't read that book and controlling access through interfaces seems interesting. However, I disagree with you when saying that you need to separate ...
Sergio Bossa
sergio_bossa
Online Now Send Email
Apr 7, 2006
9:53 am
3652
Thanks guys for your comments, i get from your post that the code that checks rules should be placed in the setter right?. ... That sound like Specifications a...
batistager
Offline Send Email
Apr 7, 2006
12:48 pm
3653
I didn't read the book either but I agree with Sergio in that I want my business rules explicitly defined in my business entities. I don't know the reasoning...
Bil Simser
sim0099
Offline Send Email
Apr 7, 2006
12:52 pm
3654
... Yes, sure ... you can start reading these blog posts of mine: http://sbtourist.blogspot.com/2006/01/case-for-specifications.html ...
Sergio Bossa
sergio_bossa
Online Now Send Email
Apr 7, 2006
5:06 pm
3655
... No, you didn't grok what I was saying, of course you don't have to call test and do, that's done behind the scenes whenever you set a property. Test and do...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 7, 2006
5:24 pm
3656
... This is obvious. ... It is just this, permitting to bypass business rules ... It is IMHO a bad practice. However, as said by Bill, I haven't ever read that...
Sergio Bossa
sergio_bossa
Online Now Send Email
Apr 10, 2006
7:55 am
3657
... I believe the main reason cited by the book is to allow infrastructure code to call setters without triggering business rules. e.g. object relational ...
Alasdair Gilmour
alasdair_gil...
Offline Send Email
Apr 10, 2006
8:54 am
3658
... First, read the book before criticizing the techniques, it's not bad practice, in fact it's fantastically well thought out and I think a great companion to...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 10, 2006
4:57 pm
3659
... Ramon, please don't be hurt for words I said declaring my ignorance of the book. Please, read again my post: my comments were totally humble and referred...
Sergio Bossa
sergio_bossa
Online Now Send Email
Apr 10, 2006
5:20 pm
Messages 3630 - 3659 of 7770   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help