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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 3729 - 3758 of 15996   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3729
Ok guys :-) I am going to ask the dojo group if they don't mind sharing our code. This is a banking Java appliction implementing simple risk analysis ...
Bernard Notarianni
bernard_nota...
Offline Send Email
May 1, 2006
7:24 am
3730
... Yes, it is just what I mean when saying to implement Repositories with Separated Interfaces. However, there may be IMHO the need of an object adapter...
Sergio Bossa
sergio_bossa
Online Now Send Email
May 1, 2006
9:37 am
3731
... Thanks for your hints, Eric, Regards, Sergio B. -- Sergio Bossa Developer, software designer, blogger and Open Source believer. Blogging on:...
Sergio Bossa
sergio_bossa
Online Now Send Email
May 1, 2006
9:40 am
3732
... Sample code is all about naive code, keeps it short enough to grok when trying to make a point, and my point was the way in which the templates were used,...
Ramon Leon
gnaritas2002
Offline Send Email
May 1, 2006
4:26 pm
3733
... How about testing? The DAO in your Repository can simply be an interface, with the actual implementation variable in order to allow mocking of the data...
Dave Rooney
daverooneyca
Offline Send Email
May 1, 2006
5:04 pm
3734
Dave, My comment applies to the case where the repository is a simple pass through and so there would not be any behavior in the repository to test. Of course,...
Chris Richardson
cer
Offline Send Email
May 1, 2006
5:37 pm
3735
I've been following the discussion with much detail because when I started learning about DDD I was puzzled about why do people prefer to implement ...
Roni Burd
roniburd
Offline Send Email
May 2, 2006
3:44 am
3736
You can have a reasonable compromise by having "wrapper" objects in the domain layer as well as the interfaces. These wrapper objects merely implement the...
Alasdair Gilmour
alasdair_gil...
Offline Send Email
May 2, 2006
9:46 am
3737
The main reason for using interfaces for repositories is to provide room for multiple repository implementations. The first implementation would be one which...
aabelro
Offline Send Email
May 2, 2006
11:28 am
3738
I've used in the past this approach (wrappers). Since the wrappers are not simple interfaces I could use them to do thing like validate entities in a generic...
Roni Burd
roniburd
Offline Send Email
May 3, 2006
12:13 am
3739
... I used to have fake implementations of repository interfaces for testing but I found that it was easier to use mock objects provided by jMock or EasyMock. ...
Chris Richardson
cer
Offline Send Email
May 3, 2006
3:37 am
3740
In my mind it is not just about using the first repositories for mocking. By originally using true in memory collections you can design and develop your entire...
gregory young
gumboismadeo...
Offline Send Email
May 3, 2006
10:42 am
3741
On 5/2/06, Alasdair Gilmour <alasdairg@...> wrote: You can have a reasonable compromise by having "wrapper" objects in the ... This is what I mean when...
Sergio Bossa
sergio_bossa
Online Now Send Email
May 3, 2006
1:26 pm
3742
On 5/3/06, gregory young <gregoryyoung1@...> wrote: In my mind it is not just about using the first repositories for mocking. ... + 1 for Gregory. Using...
Sergio Bossa
sergio_bossa
Online Now Send Email
May 3, 2006
1:32 pm
3743
... between Repositories and DAOs. ... That is the trade-off. All is not lost, however: it is fairly easy to automate generation of this adapter code - if you...
Alasdair Gilmour
alasdair_gil...
Offline Send Email
May 3, 2006
2:00 pm
3744
I've used these kind of wrappers in the past, but I've gotten away from them. It seems easier just to provide different implementations of the repository...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2006
4:45 pm
3745
I agree that an in-memory repository is much more than a mock. We've used them for testing, yes. We use them to provide an experimental platform so we can...
Eric Evans
ericevans0
Offline Send Email
May 3, 2006
5:09 pm
3746
I always love that post and direct people to it all the time. When I start building a system I'll always build a repository (when needed) and model it as an...
Bil Simser
sim0099
Offline Send Email
May 3, 2006
5:21 pm
3747
There is one thing that scares me a bit when building without having a thought about persistence: performance. I discovered that developers get used to the...
Roni Burd
roniburd
Offline Send Email
May 3, 2006
7:00 pm
3748
... I'd rather them not know, and write all that sub optimal code, it's likely far cleaner and nicer code than they'd have written without it. They can't all...
Ramon Leon
gnaritas2002
Offline Send Email
May 3, 2006
7:06 pm
3749
From: "Roni Burd" <roniburd.at.speedy.com.ar@...> To: "domaindrivendesign@yahoogroups.com" ...
yahoogroups@...
jhrothjr
Offline Send Email
May 3, 2006
7:54 pm
3750
Hi guys, I'm working on an open source project which will include the implementation of a composite specification. I've talked about it in my blog : ...
Sergio Bossa
sergio_bossa
Online Now Send Email
May 4, 2006
9:20 am
3751
Hi Sergio, What are you thinking about error treatment? I mean... How would the client be notified if an specification is not satisfied? Regards, Carlos. PS:...
Carlos Miranda
cevmiranda
Offline Send Email
May 4, 2006
4:16 pm
3752
On 5/4/06, Carlos Miranda <cevmiranda@...> wrote: How would the client be notified if an specification is not satisfied? ... Hi Carlos, I've written a...
Sergio Bossa
sergio_bossa
Online Now Send Email
May 4, 2006
4:57 pm
3753
John Roth hit the nail on the head that this problem of extensive traversals should be addressed with aggregates. The primary motivation for aggregates is...
Eric Evans
ericevans0
Offline Send Email
May 5, 2006
6:46 am
3754
Though out this (and another discussion which was occurring in regard to active record vs repository) I tried to flesh out some of the ideas presented ...
gregory young
gumboismadeo...
Offline Send Email
May 5, 2006
1:13 pm
3755
I agree with you. A Repository acts as a separation between the domain and the persistence layer. No matter what similarities can be found between the domain...
aabelro
Offline Send Email
May 5, 2006
1:52 pm
3756
Hmm. I guess the real point I was trying to make, perhaps I didn't make it very well, was that since the repository translates the differring models it ...
gregory young
gumboismadeo...
Offline Send Email
May 5, 2006
2:05 pm
3757
On 5/5/06, aabelro <life.for.all@...> wrote: I can see a case when one would use ActiveRecord, if he had just a few ... Another big problem with Active...
Sergio Bossa
sergio_bossa
Online Now Send Email
May 5, 2006
2:16 pm
3758
More posts on repositories (like we don't have enough of them). I'm looking at my repositories and they follow a pattern something like this: public class...
Bil Simser
sim0099
Offline Send Email
May 8, 2006
4:06 pm
Messages 3729 - 3758 of 15996   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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