Skip to search.
domaindrivendesign · Domain-Driven Design

Group Information

  • Members: 2907
  • Category: Software
  • Founded: Sep 27, 2002
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Where to put these kind of queries in DDD   Message List  
Reply Message #22946 of 23085 |
Re: [domaindrivendesign] Where to put these kind of queries in DDD

Hi,

Yes, I think you could put it in the InstituteRepository. But I'm also thinking that it sounds like a more general functionallity that you might want to have for more pages. You could consider making it an explicite concept and perhaps creating a WebStatsRepository.getPageViewCount(some id). After all, it is related to serving web-pages, not to managing Institutes

Jörgen

Den 13 feb 2012 22:26 skrev "hershil" <hershil@...>:


Tue Feb 14, 2012 5:41 am

jorgenstockholm
Offline Offline
Send Email Send Email

Message #22946 of 23085 |
Expand Messages Author Sort by Date

I have an entity Institute and a repository InstituteRepository which fetches Institute objects based on criteria passed. Now somewhere in my application, I...
hershil
hershil_the_one Offline Send Email
Feb 13, 2012
9:26 pm

Hi, Yes, I think you could put it in the InstituteRepository. But I'm also thinking that it sounds like a more general functionallity that you might want to...
Jörgen Andersson
jorgenstockholm Offline Send Email
Feb 14, 2012
5:41 am
Advanced

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